summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-08-03 19:22:56 +0000
committerJens Arnold <amiconn@rockbox.org>2004-08-03 19:22:56 +0000
commit9478cc6f8a1f5155131bb001ed76e5309bfc4951 (patch)
tree8453ecfa3ac88269986000eb432441df318cd04c /apps
parent2b0694c6944f2ea155291b62a00c11b89cd63914 (diff)
More const policeing step 4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/neo/keyboard.c6
-rw-r--r--apps/recorder/radio.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/neo/keyboard.c b/apps/neo/keyboard.c
index d81d7629b3..6dd315e16e 100644
--- a/apps/neo/keyboard.c
+++ b/apps/neo/keyboard.c
@@ -36,13 +36,13 @@ extern int button_add(unsigned int button);
#define KEYBOARD_MAX_LENGTH 255
-static unsigned char* kbd_screens[3] = {
+static const unsigned char* const kbd_screens[3] = {
"ABCDEFGHIJKLMNOPQRSTUVWXYZ",
"abcdefghijklmnopqrstuvwxyz",
" !\"#$%&'()*+,-./0123456789;<=>?@[]^_`{|}"
};
-static unsigned char* kbd_screens_names[3] = {
+static const unsigned char* const kbd_screens_names[3] = {
"Capitals",
"Small",
"Others"
@@ -77,7 +77,7 @@ int kbd_input(char* text, int buflen)
int key;
int screen = 0;
int screenidx = -1;
- unsigned char * pcurscreen = kbd_screens[0];
+ const unsigned char * pcurscreen = kbd_screens[0];
bool ctl;
bufferlen = strlen(text);
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index e26ac5bdc8..3bd50183c6 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -75,7 +75,7 @@ static int pll_cnt;
static bool presets_loaded = false;
static struct fmstation presets[MAX_PRESETS];
-static char default_filename[] = "/.rockbox/fm-presets-default.fmr";
+static const char default_filename[] = "/.rockbox/fm-presets-default.fmr";
int debug_fm_detection;