From 3a233b827783151c4c08985224782f1dcce43a8f Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sun, 8 Apr 2007 01:12:44 +0100 Subject: Mark various private arrays, structs & fn parameters as static and/or const. Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once. --- src/xine-engine/configfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xine-engine/configfile.c') diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c index 28b44fd51..ec5f5c856 100644 --- a/src/xine-engine/configfile.c +++ b/src/xine-engine/configfile.c @@ -51,7 +51,7 @@ typedef struct { const char *new; } config_entry_translation_t; -static config_entry_translation_t config_entry_translation[] = { +static const config_entry_translation_t config_entry_translation[] = { { "audio.a52_pass_through", "" }, { "audio.alsa_a52_device", "audio.device.alsa_passthrough_device" }, { "audio.alsa_default_device", "audio.device.alsa_default_device" }, -- cgit v1.2.3