From 638dd6786a75e5d3e87a9e04f80138d80665f230 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 19 Jul 2004 21:46:37 +0000 Subject: 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 --- apps/filetypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/filetypes.h') 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 -- cgit v1.2.3