summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-08-03 20:52:31 +0000
committerJens Arnold <amiconn@rockbox.org>2004-08-03 20:52:31 +0000
commit0830339e2f5831575879a6194d43d2e958d8cf64 (patch)
tree0032539fb57423539014b9f8c5ac51e2799c055d
parent9478cc6f8a1f5155131bb001ed76e5309bfc4951 (diff)
downloadrockbox-0830339e2f5831575879a6194d43d2e958d8cf64.tar.gz
rockbox-0830339e2f5831575879a6194d43d2e958d8cf64.zip
More const policeing step 5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4984 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/credits.c2
-rw-r--r--apps/debug_menu.c2
-rw-r--r--apps/recorder/radio.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/credits.c b/apps/credits.c
index 9ab14345fa..d8cda66677 100644
--- a/apps/credits.c
+++ b/apps/credits.c
@@ -24,7 +24,7 @@
24#include "button.h" 24#include "button.h"
25#include "sprintf.h" 25#include "sprintf.h"
26 26
27char* const credits[] = { 27const char* const credits[] = {
28#include "credits.raw" /* generated list of names from docs/CREDITS */ 28#include "credits.raw" /* generated list of names from docs/CREDITS */
29}; 29};
30 30
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index f7a96dcd3d..55a2bbf482 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -61,7 +61,7 @@
61extern int ata_device; 61extern int ata_device;
62extern int ata_io_address; 62extern int ata_io_address;
63extern int num_threads; 63extern int num_threads;
64extern char *thread_name[]; 64extern const char *thread_name[];
65 65
66#ifdef HAVE_LCD_BITMAP 66#ifdef HAVE_LCD_BITMAP
67/* Test code!!! */ 67/* Test code!!! */
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 3bd50183c6..d34503b666 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -707,7 +707,7 @@ bool radio_delete_preset(void)
707 707
708bool handle_radio_presets_menu(void) 708bool handle_radio_presets_menu(void)
709{ 709{
710 struct menu_item preset_menu_items[] = { 710 static const struct menu_item preset_menu_items[] = {
711 { ID2P(LANG_FM_EDIT_PRESET), radio_edit_preset }, 711 { ID2P(LANG_FM_EDIT_PRESET), radio_edit_preset },
712 { ID2P(LANG_FM_DELETE_PRESET), radio_delete_preset }, 712 { ID2P(LANG_FM_DELETE_PRESET), radio_delete_preset },
713 }; 713 };