diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:29:46 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:29:46 +0000 |
| commit | 89ccd5c145e45ad541a02f38e2ad07fb916f7135 (patch) | |
| tree | 5fc32e78d793022246e3893f7c420f52d624c96e /apps/plugin.h | |
| parent | b955dff268005d3d55ee3f38af0875718ab6021a (diff) | |
| download | rockbox-89ccd5c145e45ad541a02f38e2ad07fb916f7135.zip rockbox-89ccd5c145e45ad541a02f38e2ad07fb916f7135.tar.gz rockbox-89ccd5c145e45ad541a02f38e2ad07fb916f7135.tar.bz2 rockbox-89ccd5c145e45ad541a02f38e2ad07fb916f7135.tar.xz | |
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
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |