X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=playlist.c;h=e3569358fffeac5dd83799ef6cea60a078edf9ee;hp=2c5b67777e2f0b41671bc436e3ef7b02f83e6740;hb=4bdac4f11551a124d2e0e5b43cf6aeda3b8c5c71;hpb=79bfc7a2a6577000c405be6344ba91ec3f8745e9 diff --git a/playlist.c b/playlist.c index 2c5b6777..e3569358 100644 --- a/playlist.c +++ b/playlist.c @@ -126,8 +126,10 @@ static int check_playlist(struct osl_row *row, void *data) * * \param fd The afs socket. * \param query Unused. + * + * \return Currently this function always returns zero. */ -void playlist_check_callback(int fd, __a_unused const struct osl_object *query) +int playlist_check_callback(int fd, __a_unused const struct osl_object *query) { struct para_buffer pb = { .max_size = shm_get_shmmax(), @@ -141,6 +143,7 @@ void playlist_check_callback(int fd, __a_unused const struct osl_object *query) osl_rbtree_loop(playlists_table, BLOBCOL_ID, &pb, check_playlist); flush_and_free_pb(&pb); + return 0; } /**