From 8fb336148fb34474c67fbc6e0354daa4512a22fb Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 18 Aug 2004 01:09:31 +0000 Subject: Const policed pointer arguments to functions, part 3 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657 --- apps/filetypes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/filetypes.h') diff --git a/apps/filetypes.h b/apps/filetypes.h index c5bccf4498..e72dd6ffd3 100644 --- a/apps/filetypes.h +++ b/apps/filetypes.h @@ -23,17 +23,17 @@ #include #include -int filetype_get_attr(char*); +int filetype_get_attr(const char*); #ifdef HAVE_LCD_BITMAP const char* filetype_get_icon(int); #else int filetype_get_icon(int); #endif -char* filetype_get_plugin(struct entry*); +char* filetype_get_plugin(const struct entry*); void filetype_init(void); bool filetype_supported(int); int filetype_load_menu(struct menu_item*, int); -int filetype_load_plugin(char*,char*); +int filetype_load_plugin(const char*, char*); struct file_type { #ifdef HAVE_LCD_BITMAP -- cgit v1.2.3