summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-09-23 09:59:06 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-09-23 09:59:06 +0000
commit468edbbc7c1ea4b5de0036a732fac4ef0bee23ba (patch)
treebd7e9cb1206dd5ff207e6e228d969fbd976c9317 /apps/plugin.h
parent2041fed03aad460e73dcab5510ee83d1ba3775cd (diff)
downloadrockbox-468edbbc7c1ea4b5de0036a732fac4ef0bee23ba.tar.gz
rockbox-468edbbc7c1ea4b5de0036a732fac4ef0bee23ba.zip
Use the correct #ifdefs for the added kernel objects.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18575 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 409108d2d9..20724f8706 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -764,11 +764,13 @@ struct plugin_api {
764#endif 764#endif
765 765
766 void (*thread_thaw)(struct thread_entry *thread); 766 void (*thread_thaw)(struct thread_entry *thread);
767 767
768#if (CONFIG_CODEC == SWCODEC) 768#ifdef HAVE_SEMAPHORE_OBJECTS
769 void (*semaphore_init)(struct semaphore *s, int max, int start); 769 void (*semaphore_init)(struct semaphore *s, int max, int start);
770 void (*semaphore_wait)(struct semaphore *s); 770 void (*semaphore_wait)(struct semaphore *s);
771 void (*semaphore_release)(struct semaphore *s); 771 void (*semaphore_release)(struct semaphore *s);
772#endif
773#ifdef HAVE_EVENT_OBJECTS
772 void (*event_init)(struct event *e, unsigned int flags); 774 void (*event_init)(struct event *e, unsigned int flags);
773 void (*event_wait)(struct event *e, unsigned int for_state); 775 void (*event_wait)(struct event *e, unsigned int for_state);
774 void (*event_set_state)(struct event *e, unsigned int state); 776 void (*event_set_state)(struct event *e, unsigned int state);