summaryrefslogtreecommitdiffstats
path: root/apps/filetypes.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-07-19 21:46:37 +0000
committerJens Arnold <amiconn@rockbox.org>2004-07-19 21:46:37 +0000
commit638dd6786a75e5d3e87a9e04f80138d80665f230 (patch)
treeef376ff7e32e88913f833344d33b9810a023187e /apps/filetypes.h
parent5846aab6542104003bf03c29851bc3c12bc8da7a (diff)
downloadrockbox-638dd6786a75e5d3e87a9e04f80138d80665f230.tar.gz
rockbox-638dd6786a75e5d3e87a9e04f80138d80665f230.tar.bz2
rockbox-638dd6786a75e5d3e87a9e04f80138d80665f230.zip
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
Diffstat (limited to 'apps/filetypes.h')
-rw-r--r--apps/filetypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/filetypes.h b/apps/filetypes.h
index 22668fd725..c5bccf4498 100644
--- a/apps/filetypes.h
+++ b/apps/filetypes.h
@@ -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