summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-09 06:48:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-09 06:48:55 +0000
commitb0625477476413b96fa865ba69d827464597095c (patch)
tree5c044cf7ad63b31b88df33c3103b3db2dafc5018 /apps
parente15ac75ea0dabbe35e097efc81609d1b61fc4e34 (diff)
downloadrockbox-b0625477476413b96fa865ba69d827464597095c.tar.gz
rockbox-b0625477476413b96fa865ba69d827464597095c.zip
typecast the five functions that still make a simulator produce compiler
warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4119 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 0fab448584..7a88a894d8 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -108,12 +108,12 @@ static struct plugin_api rockbox_api = {
button_get_w_tmo,
/* file */
- PREFIX(open),
+ (open_func)PREFIX(open),
PREFIX(close),
- read,
+ (read_func)read,
lseek,
- PREFIX(creat),
- write,
+ (creat_func)PREFIX(creat),
+ (write_func)write,
remove,
rename,
ftruncate,
@@ -149,7 +149,7 @@ static struct plugin_api rockbox_api = {
srand,
rand,
splash,
- qsort,
+ (qsort_func)qsort,
kbd_input,
mpeg_current_track,
atoi,