From 77bf6bf370da1850433a3a7a3eaf4d96bd09183a Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Mon, 12 Dec 2005 14:05:14 +0000 Subject: iPod: current_tick is now a variable, so we can export it via the plugin and codec APIs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8225 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs.c | 2 -- apps/codecs.h | 2 -- apps/plugin.c | 2 -- apps/plugin.h | 2 -- 4 files changed, 8 deletions(-) (limited to 'apps') diff --git a/apps/codecs.c b/apps/codecs.c index e443127208..831b9b4f0c 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -124,9 +124,7 @@ struct codec_api ci = { /* kernel/ system */ PREFIX(sleep), yield, -#if CONFIG_CPU != PP5020 ¤t_tick, -#endif default_event_handler, default_event_handler_ex, create_thread, diff --git a/apps/codecs.h b/apps/codecs.h index b9b4bb4c71..5d5fbfe75d 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -197,9 +197,7 @@ struct codec_api { /* kernel/ system */ void (*PREFIX(sleep))(int ticks); void (*yield)(void); -#if CONFIG_CPU != PP5020 long* current_tick; -#endif long (*default_event_handler)(long event); long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter); int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name); diff --git a/apps/plugin.c b/apps/plugin.c index e82d97a716..c993bb1f8a 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -208,9 +208,7 @@ static const struct plugin_api rockbox_api = { /* kernel/ system */ PREFIX(sleep), yield, -#if CONFIG_CPU != PP5020 ¤t_tick, -#endif default_event_handler, default_event_handler_ex, create_thread, diff --git a/apps/plugin.h b/apps/plugin.h index 66ef0a37de..7f86d54c93 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -277,9 +277,7 @@ struct plugin_api { /* kernel/ system */ void (*PREFIX(sleep))(int ticks); void (*yield)(void); -#if CONFIG_CPU!=PP5020 long* current_tick; -#endif long (*default_event_handler)(long event); long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter); int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name); -- cgit v1.2.3