summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 3efd31ccc9..cc0a94bb38 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -71,8 +71,6 @@ static char current_plugin[MAX_PATH];
71 71
72char *plugin_get_current_filename(void); 72char *plugin_get_current_filename(void);
73 73
74extern struct thread_entry threads[MAXTHREADS];
75
76static const struct plugin_api rockbox_api = { 74static const struct plugin_api rockbox_api = {
77 75
78 /* lcd */ 76 /* lcd */
@@ -293,11 +291,14 @@ static const struct plugin_api rockbox_api = {
293 &current_tick, 291 &current_tick,
294 default_event_handler, 292 default_event_handler,
295 default_event_handler_ex, 293 default_event_handler_ex,
296 threads,
297 create_thread, 294 create_thread,
298 thread_exit, 295 thread_exit,
299 thread_wait, 296 thread_wait,
300#if (CONFIG_CODEC == SWCODEC) 297#if (CONFIG_CODEC == SWCODEC)
298 thread_thaw,
299#ifdef HAVE_PRIORITY_SCHEDULING
300 thread_set_priority,
301#endif
301 mutex_init, 302 mutex_init,
302 mutex_lock, 303 mutex_lock,
303 mutex_unlock, 304 mutex_unlock,
@@ -544,6 +545,7 @@ static const struct plugin_api rockbox_api = {
544 &global_status, 545 &global_status,
545 talk_disable, 546 talk_disable,
546#if CONFIG_CODEC == SWCODEC 547#if CONFIG_CODEC == SWCODEC
548 codec_thread_do_callback,
547 codec_load_file, 549 codec_load_file,
548 get_codec_filename, 550 get_codec_filename,
549 get_metadata, 551 get_metadata,
@@ -611,8 +613,6 @@ static const struct plugin_api rockbox_api = {
611 search_albumart_files, 613 search_albumart_files,
612#endif 614#endif
613 615
614 thread_thaw,
615
616#ifdef HAVE_SEMAPHORE_OBJECTS 616#ifdef HAVE_SEMAPHORE_OBJECTS
617 semaphore_init, 617 semaphore_init,
618 semaphore_wait, 618 semaphore_wait,