From 63ba5c5f0504600844f9a9e50b9d7da3b10953f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 19 Dec 2007 19:29:34 +0100 Subject: Mark more arrays as constant. --- src/input/input_dvb.c | 2 +- src/input/input_v4l.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input') diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index 1e876f251..e6daf423b 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -1598,7 +1598,7 @@ static void load_epg_data(dvb_input_plugin_t *this) case 0x54: { /* Content Descriptor, riveting stuff */ int content_bits = getbits(eit, 8, 4); - static const char *content[] = { + static const char *const content[] = { "UNKNOWN","MOVIE","NEWS","ENTERTAINMENT","SPORT", "CHILDRENS","MUSIC","ARTS/CULTURE","CURRENT AFFAIRS", "EDUCATIONAL","INFOTAINMENT","SPECIAL","COMEDY","DRAMA", diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c index 34ebcdc27..7af8788ff 100644 --- a/src/input/input_v4l.c +++ b/src/input/input_v4l.c @@ -110,7 +110,7 @@ static const resolution_t resolutions[] = { { 160, 120 } }; -static const char *tv_standard_names[] = { "PAL", "NTSC", "SECAM", NULL }; +static const char *const tv_standard_names[] = { "PAL", "NTSC", "SECAM", NULL }; static const int tv_standard_values[] = { VIDEO_MODE_PAL, VIDEO_MODE_NTSC, VIDEO_MODE_SECAM }; #define NUM_RESOLUTIONS (sizeof(resolutions)/sizeof(resolutions[0])) -- cgit v1.2.3