From 528715a672a53156d7cb1382c344954d4d59cfc6 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 16 Aug 2014 05:52:05 -0400 Subject: 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 --- apps/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugin.c') 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; -- cgit v1.1