From a3dc441fc0219d417923b04e863ceca5a1427c0e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 28 Oct 2007 02:59:22 +0100 Subject: [PATCH] make playlist_update_audio_file() static. --- afs.h | 1 - playlist.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5