*
* \return The return value of score_update().
*/
-int playlist_update_audio_file(struct osl_row *aft_row)
+static int playlist_update_audio_file(const struct osl_row *aft_row)
{
/* always re-insert to the top of the tree */
return score_update(aft_row, 0);
*/
void playlist_close(void)
{
- int ret;
-
if (!current_playlist.name)
return;
free(current_playlist.name);
return score_add(row, 0); /* play it immediately */
}
-int playlists_event_handler(enum afs_events event, struct para_buffer *pb,
- void *data)
+int playlists_event_handler(enum afs_events event,
+ __a_unused struct para_buffer *pb, void *data)
{
int ret;