diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-12-12 14:05:14 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-12-12 14:05:14 +0000 |
| commit | 77bf6bf370da1850433a3a7a3eaf4d96bd09183a (patch) | |
| tree | a8afae7b6f0a562a4008a821313a69f61ce87dfd /apps | |
| parent | 544b03cf9abafc080e10a91f65046eda540ff5ae (diff) | |
| download | rockbox-77bf6bf370da1850433a3a7a3eaf4d96bd09183a.zip rockbox-77bf6bf370da1850433a3a7a3eaf4d96bd09183a.tar.gz rockbox-77bf6bf370da1850433a3a7a3eaf4d96bd09183a.tar.bz2 rockbox-77bf6bf370da1850433a3a7a3eaf4d96bd09183a.tar.xz | |
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
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/codecs.c | 2 | ||||
| -rw-r--r-- | apps/codecs.h | 2 | ||||
| -rw-r--r-- | apps/plugin.c | 2 | ||||
| -rw-r--r-- | apps/plugin.h | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index e443127..831b9b4 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 b9b4bb4..5d5fbfe 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 e82d97a..c993bb1 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 66ef0a3..7f86d54 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); |