From: Andre Noll Date: Sun, 28 Oct 2007 01:59:22 +0000 (+0100) Subject: make playlist_update_audio_file() static. X-Git-Tag: v0.3.0~179 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=a3dc441fc0219d417923b04e863ceca5a1427c0e;ds=sidebyside make playlist_update_audio_file() static. --- diff --git a/afs.h b/afs.h index 9e1f61e0..d0c162fb 100644 --- a/afs.h +++ b/afs.h @@ -198,7 +198,6 @@ int mood_check_callback(__a_unused const struct osl_object *query, /* playlist */ int playlist_open(char *name); void playlist_close(void); -int playlist_update_audio_file(struct osl_row *aft_row); int playlist_check_callback(__a_unused const struct osl_object *query, struct osl_object *result); diff --git a/playlist.c b/playlist.c index 62fd831a..5012d4c4 100644 --- a/playlist.c +++ b/playlist.c @@ -28,7 +28,7 @@ static struct playlist_info current_playlist; * * \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);