From b0625477476413b96fa865ba69d827464597095c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 9 Dec 2003 06:48:55 +0000 Subject: 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 --- apps/plugin.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/plugin.c') 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, -- cgit v1.2.3