Const'ed the logo, the bitmaps and the credits (optimization for running from ROM)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4896 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-07-19 21:46:37 +00:00
parent 5846aab654
commit 638dd6786a
10 changed files with 25 additions and 30 deletions

View file

@ -25,7 +25,7 @@
int filetype_get_attr(char*);
#ifdef HAVE_LCD_BITMAP
char* filetype_get_icon(int);
const char* filetype_get_icon(int);
#else
int filetype_get_icon(int);
#endif
@ -37,7 +37,7 @@ int filetype_load_plugin(char*,char*);
struct file_type {
#ifdef HAVE_LCD_BITMAP
unsigned char* icon; /* the icon which shall be used for it, NULL if unknown */
const unsigned char* icon; /* the icon which shall be used for it, NULL if unknown */
#else
int icon; /* the icon which shall be used for it, -1 if unknown */
#endif