From 89ccd5c145e45ad541a02f38e2ad07fb916f7135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 29 Jun 2009 14:29:46 +0000 Subject: Remove int_prio argument from timer_register, and move the only use for it into alpine_cdc plugin, since this plugin is only built on SH7034 Also remove it from TIMER_START() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21558 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 2a5b682..160eb2b 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -128,12 +128,12 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 156 +#define PLUGIN_API_VERSION 157 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 156 +#define PLUGIN_MIN_API_VERSION 157 /* plugin return codes */ enum plugin_status { @@ -461,8 +461,8 @@ struct plugin_api { void (*cpucache_invalidate)(void); #endif bool (*timer_register)(int reg_prio, void (*unregister_callback)(void), - long cycles, int int_prio, - void (*timer_callback)(void) IF_COP(, int core)); + long cycles, void (*timer_callback)(void) + IF_COP(, int core)); void (*timer_unregister)(void); bool (*timer_set_period)(long count); -- cgit v1.1