summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2014-08-16 05:52:05 -0400
committerMichael Sevakis <jethead71@rockbox.org>2014-08-16 06:00:36 -0400
commit528715a672a53156d7cb1382c344954d4d59cfc6 (patch)
tree188251d2ff8ae495532d25c57adc9ba286f7e5e0 /apps/plugin.c
parent6ed00870abd566d7267d2436c2693f5a281cda2f (diff)
downloadrockbox-528715a672a53156d7cb1382c344954d4d59cfc6.zip
rockbox-528715a672a53156d7cb1382c344954d4d59cfc6.tar.gz
rockbox-528715a672a53156d7cb1382c344954d4d59cfc6.tar.bz2
rockbox-528715a672a53156d7cb1382c344954d4d59cfc6.tar.xz
Fix warnings from 6ed0087
Forgot to (void) an unused parameter when priorityless. usb-drv-rl27xx.c was using a compound init to initialize a semaphore but the structure changed so that it is no longer correct. Use designated initializers to avoid having to complete all fields. Forgot to break compatibility on all plugins and codecs since the kernel objects are now different. Take care of that too and do the sort thing. Change-Id: Ie2ab8da152d40be0c69dc573ced8d697d94b0674
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index d0e6ade..8edc773 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -697,6 +697,7 @@ static const struct plugin_api rockbox_api = {
#endif
plugin_get_buffer,
plugin_get_audio_buffer, /* defined in plugin.c */
+ plugin_release_audio_buffer, /* defined in plugin.c */
plugin_tsr, /* defined in plugin.c */
plugin_get_current_filename,
#if defined(DEBUG) || defined(SIMULATOR)
@@ -804,7 +805,6 @@ static const struct plugin_api rockbox_api = {
/* new stuff at the end, sort into place next time
the API gets incompatible */
- plugin_release_audio_buffer, /* defined in plugin.c */
};
static int plugin_buffer_handle;