forked from len0rd/rockbox
Correct wrong usage of event callbacks all over the place. It's not supposed to return anything, and should take a data parameter.
Fixing it because correcting the event api prototypes causes many warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23301 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
872852639f
commit
774bacc692
13 changed files with 51 additions and 50 deletions
|
|
@ -1214,8 +1214,9 @@ static int compare(const void* p1, const void* p2)
|
|||
* without affecting playlist load up performance. This thread also flushes
|
||||
* any pending control commands when the disk spins up.
|
||||
*/
|
||||
static bool playlist_flush_callback(void)
|
||||
static void playlist_flush_callback(void *param)
|
||||
{
|
||||
(void)param;
|
||||
struct playlist_info *playlist;
|
||||
playlist = ¤t_playlist;
|
||||
if (playlist->control_fd >= 0)
|
||||
|
|
@ -1228,7 +1229,6 @@ static bool playlist_flush_callback(void)
|
|||
}
|
||||
sync_control(playlist, true);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
static void playlist_thread(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue