forked from len0rd/rockbox
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
This commit is contained in:
parent
6ed00870ab
commit
528715a672
5 changed files with 29 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue