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.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 36b4a83..78f46ea 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -69,7 +69,7 @@ #define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */ #ifdef SIMULATOR /* a space which is defined in stubs.c */ -extern unsigned char vp_dummy[VIRT_SIZE]; +extern unsigned char vp_dummy[VIRT_SIZE]; #define VIRT_PTR vp_dummy #else /* a location where we won't store strings, 0 is the fastest */ @@ -250,7 +250,7 @@ struct user_settings enum optiontype { INT, BOOL }; struct opt_items { - unsigned char* string; + unsigned const char* string; int voice_id; }; @@ -291,7 +291,7 @@ extern struct user_settings global_settings; extern long lasttime; /* Recording base directory */ -extern char rec_base_directory[]; +extern const char rec_base_directory[]; /* system defines */ -- cgit v1.1