From 774bacc692b4d5c7b769bb88d24e182db9e4656f Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 20 Oct 2009 21:54:44 +0000 Subject: Correct wrong usage of event callbacks all over the place. It's not supposed to return anything, and should take a data parameter. Fixing it because correcting the event api prototypes causes many warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23301 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 41375a6..6ff7e7e 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -403,8 +403,8 @@ struct plugin_api { void (*storage_spin)(void); void (*storage_spindown)(int seconds); #if USING_STORAGE_CALLBACK - void (*register_storage_idle_func)(storage_idle_notify function); - void (*unregister_storage_idle_func)(storage_idle_notify function, bool run); + void (*register_storage_idle_func)(void (*function)(void *data)); + void (*unregister_storage_idle_func)(void (*function)(void *data), bool run); #endif /* USING_STORAGE_CALLBACK */ void (*reload_directory)(void); char *(*create_numbered_filename)(char *buffer, const char *path, -- cgit v1.1