diff options
| author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-08 01:12:44 +0100 |
|---|---|---|
| committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-04-08 01:12:44 +0100 |
| commit | 3a233b827783151c4c08985224782f1dcce43a8f (patch) | |
| tree | 5377813a1b3369d2700050df921ec0b33426b7f6 /src/xine-engine/configfile.c | |
| parent | f12149f0ca2743e6f5f9d39ba53b27c306137597 (diff) | |
| download | xine-lib-3a233b827783151c4c08985224782f1dcce43a8f.tar.gz xine-lib-3a233b827783151c4c08985224782f1dcce43a8f.tar.bz2 | |
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.
Diffstat (limited to 'src/xine-engine/configfile.c')
| -rw-r--r-- | src/xine-engine/configfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" }, |
