diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-12-09 06:48:55 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-12-09 06:48:55 +0000 |
commit | b0625477476413b96fa865ba69d827464597095c (patch) | |
tree | 5c044cf7ad63b31b88df33c3103b3db2dafc5018 /apps/plugin.c | |
parent | e15ac75ea0dabbe35e097efc81609d1b61fc4e34 (diff) | |
download | rockbox-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/plugin.c')
-rw-r--r-- | apps/plugin.c | 10 |
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 = { | |||
108 | button_get_w_tmo, | 108 | button_get_w_tmo, |
109 | 109 | ||
110 | /* file */ | 110 | /* file */ |
111 | PREFIX(open), | 111 | (open_func)PREFIX(open), |
112 | PREFIX(close), | 112 | PREFIX(close), |
113 | read, | 113 | (read_func)read, |
114 | lseek, | 114 | lseek, |
115 | PREFIX(creat), | 115 | (creat_func)PREFIX(creat), |
116 | write, | 116 | (write_func)write, |
117 | remove, | 117 | remove, |
118 | rename, | 118 | rename, |
119 | ftruncate, | 119 | ftruncate, |
@@ -149,7 +149,7 @@ static struct plugin_api rockbox_api = { | |||
149 | srand, | 149 | srand, |
150 | rand, | 150 | rand, |
151 | splash, | 151 | splash, |
152 | qsort, | 152 | (qsort_func)qsort, |
153 | kbd_input, | 153 | kbd_input, |
154 | mpeg_current_track, | 154 | mpeg_current_track, |
155 | atoi, | 155 | atoi, |