summaryrefslogtreecommitdiff
path: root/src/input/vcd
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2007-04-08 01:12:44 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2007-04-08 01:12:44 +0100
commit3a233b827783151c4c08985224782f1dcce43a8f (patch)
tree5377813a1b3369d2700050df921ec0b33426b7f6 /src/input/vcd
parentf12149f0ca2743e6f5f9d39ba53b27c306137597 (diff)
downloadxine-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/input/vcd')
-rw-r--r--src/input/vcd/xineplug_inp_vcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c
index 920b5c1d8..a15899f2d 100644
--- a/src/input/vcd/xineplug_inp_vcd.c
+++ b/src/input/vcd/xineplug_inp_vcd.c
@@ -88,7 +88,7 @@
Convert an autoplay enumeration into an vcdinfo itemtype enumeration.
See definitions in vcdplayer.h and vcdinfo.h to get the below correct.
*/
-vcdinfo_item_enum_t autoplay2itemtype[]={
+static const vcdinfo_item_enum_t autoplay2itemtype[]={
VCDINFO_ITEM_TYPE_TRACK, /* VCDPLAYER_AUTOPLAY_TRACK */
VCDINFO_ITEM_TYPE_ENTRY, /* VCDPLAYER_AUTOPLAY_ENTRY */
VCDINFO_ITEM_TYPE_SEGMENT, /* VCDPLAYER_AUTOPLAY_SEGMENT */