summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index b03ed31..aa24b32 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -607,13 +607,15 @@ static const struct plugin_api rockbox_api = {
#endif
thread_thaw,
+
+#if (CONFIG_CODEC == SWCODEC)
semaphore_init,
semaphore_wait,
semaphore_release,
event_init,
event_wait,
event_set_state,
-
+#endif
/* new stuff at the end, sort into place next time
the API gets incompatible */