summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-08-18 19:59:06 +0000
committerJens Arnold <amiconn@rockbox.org>2004-08-18 19:59:06 +0000
commit2f20b3e78426600e0e8008eab6663fc4f0547f57 (patch)
tree1c8ccec8bf1d65c8890e41782914f8a4110a385c /apps/recorder
parentf50bbce43867ddc285823c0d2c65bc42b1d8d161 (diff)
downloadrockbox-2f20b3e78426600e0e8008eab6663fc4f0547f57.tar.gz
rockbox-2f20b3e78426600e0e8008eab6663fc4f0547f57.zip
Const policed pointer arguments to functions, part 4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5001 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/keyboard.c4
-rw-r--r--apps/recorder/peakmeter.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c
index 0331a5711d..8acccdafd1 100644
--- a/apps/recorder/keyboard.c
+++ b/apps/recorder/keyboard.c
@@ -33,7 +33,7 @@
#define KEYBOARD_LINES 4
#define KEYBOARD_PAGES 3
-static void kbd_setupkeys(char* line[KEYBOARD_LINES], int page)
+static void kbd_setupkeys(const char* line[KEYBOARD_LINES], int page)
{
switch (page) {
case 0:
@@ -85,7 +85,7 @@ int kbd_input(char* text, int buflen)
int len;
int editpos;
bool redraw = true;
- char* line[KEYBOARD_LINES];
+ const char* line[KEYBOARD_LINES];
char outline[256];
char c = 0;
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c
index b069c1566b..22f90a3f94 100644
--- a/apps/recorder/peakmeter.c
+++ b/apps/recorder/peakmeter.c
@@ -122,7 +122,7 @@ static const long clip_time_out[] = {
dBfs values. Used to draw the scale */
#define DB_SCALE_SRC_VALUES_SIZE 11
#if 0
-const static int db_scale_src_values[DB_SCALE_SRC_VALUES_SIZE] = {
+static const int db_scale_src_values[DB_SCALE_SRC_VALUES_SIZE] = {
32767, /* 0 db */
23197, /* - 3 db */
16422, /* - 6 db */