From abe77a1a2a1db4e6b9bcd4a8d14dc7abef0b2104 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 1 Aug 2004 21:50:57 +0000 Subject: More const policeing step 1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4978 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index 0487f25..47969d1 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -67,7 +67,7 @@ void dac_line_in(bool enable); #endif struct user_settings global_settings; -char rec_base_directory[] = REC_BASE_DIR; +const char rec_base_directory[] = REC_BASE_DIR; #define CONFIG_BLOCK_VERSION 16 @@ -1513,7 +1513,7 @@ bool set_option(char* string, void* variable, enum optiontype type, #ifdef HAVE_MAS3587F /* This array holds the record timer interval lengths, in seconds */ -static unsigned long rec_timer_seconds[] = +static const unsigned long rec_timer_seconds[] = { 24*60*60, /* OFF really means 24 hours, to avoid >2Gbyte files */ 5*60, /* 00:05 */ -- cgit v1.1