summaryrefslogtreecommitdiffstats
path: root/apps/filetypes.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-08-18 01:09:31 +0000
committerJens Arnold <amiconn@rockbox.org>2004-08-18 01:09:31 +0000
commit8fb336148fb34474c67fbc6e0354daa4512a22fb (patch)
tree5910d0a54bf8424b424939a263abef0f570591f7 /apps/filetypes.h
parent6d0da414bfea35b4370ad820d28d4565521d7b12 (diff)
downloadrockbox-8fb336148fb34474c67fbc6e0354daa4512a22fb.tar.gz
rockbox-8fb336148fb34474c67fbc6e0354daa4512a22fb.tar.bz2
rockbox-8fb336148fb34474c67fbc6e0354daa4512a22fb.zip
Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetypes.h')
-rw-r--r--apps/filetypes.h6
1 files changed, 3 insertions, 3 deletions
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 <tree.h>
#include <menu.h>
-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