More const policeing step 5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4984 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9478cc6f8a
commit
0830339e2f
3 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@
|
|||
#include "button.h"
|
||||
#include "sprintf.h"
|
||||
|
||||
char* const credits[] = {
|
||||
const char* const credits[] = {
|
||||
#include "credits.raw" /* generated list of names from docs/CREDITS */
|
||||
};
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
extern int ata_device;
|
||||
extern int ata_io_address;
|
||||
extern int num_threads;
|
||||
extern char *thread_name[];
|
||||
extern const char *thread_name[];
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
/* Test code!!! */
|
||||
|
|
|
@ -707,7 +707,7 @@ bool radio_delete_preset(void)
|
|||
|
||||
bool handle_radio_presets_menu(void)
|
||||
{
|
||||
struct menu_item preset_menu_items[] = {
|
||||
static const struct menu_item preset_menu_items[] = {
|
||||
{ ID2P(LANG_FM_EDIT_PRESET), radio_edit_preset },
|
||||
{ ID2P(LANG_FM_DELETE_PRESET), radio_delete_preset },
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue