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.tar.gz rockbox-77bf6bf370da1850433a3a7a3eaf4d96bd09183a.zip |
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 e443127208..831b9b4f0c 100644 --- a/apps/codecs.c +++ b/apps/codecs.c | |||
@@ -124,9 +124,7 @@ struct codec_api ci = { | |||
124 | /* kernel/ system */ | 124 | /* kernel/ system */ |
125 | PREFIX(sleep), | 125 | PREFIX(sleep), |
126 | yield, | 126 | yield, |
127 | #if CONFIG_CPU != PP5020 | ||
128 | ¤t_tick, | 127 | ¤t_tick, |
129 | #endif | ||
130 | default_event_handler, | 128 | default_event_handler, |
131 | default_event_handler_ex, | 129 | default_event_handler_ex, |
132 | create_thread, | 130 | 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 { | |||
197 | /* kernel/ system */ | 197 | /* kernel/ system */ |
198 | void (*PREFIX(sleep))(int ticks); | 198 | void (*PREFIX(sleep))(int ticks); |
199 | void (*yield)(void); | 199 | void (*yield)(void); |
200 | #if CONFIG_CPU != PP5020 | ||
201 | long* current_tick; | 200 | long* current_tick; |
202 | #endif | ||
203 | long (*default_event_handler)(long event); | 201 | long (*default_event_handler)(long event); |
204 | long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter); | 202 | long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter); |
205 | int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name); | 203 | 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 = { | |||
208 | /* kernel/ system */ | 208 | /* kernel/ system */ |
209 | PREFIX(sleep), | 209 | PREFIX(sleep), |
210 | yield, | 210 | yield, |
211 | #if CONFIG_CPU != PP5020 | ||
212 | ¤t_tick, | 211 | ¤t_tick, |
213 | #endif | ||
214 | default_event_handler, | 212 | default_event_handler, |
215 | default_event_handler_ex, | 213 | default_event_handler_ex, |
216 | create_thread, | 214 | 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 { | |||
277 | /* kernel/ system */ | 277 | /* kernel/ system */ |
278 | void (*PREFIX(sleep))(int ticks); | 278 | void (*PREFIX(sleep))(int ticks); |
279 | void (*yield)(void); | 279 | void (*yield)(void); |
280 | #if CONFIG_CPU!=PP5020 | ||
281 | long* current_tick; | 280 | long* current_tick; |
282 | #endif | ||
283 | long (*default_event_handler)(long event); | 281 | long (*default_event_handler)(long event); |
284 | long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter); | 282 | long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter); |
285 | int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name); | 283 | int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name); |