]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
make playlist_update_audio_file() static.
authorAndre Noll <maan@systemlinux.org>
Sun, 28 Oct 2007 01:59:22 +0000 (02:59 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 28 Oct 2007 01:59:22 +0000 (02:59 +0100)
afs.h
playlist.c

diff --git a/afs.h b/afs.h
index 9e1f61e07bd0ef255911eb80ac48b4c93f4651c8..d0c162fb376278c021b0f1092ae763bf615e4392 100644 (file)
--- 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);
 /* 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);
 
 int playlist_check_callback(__a_unused const struct osl_object *query,
        struct osl_object *result);
 
index 62fd831acfa1bff04097b59dad33b3b22cee41f6..5012d4c446739db9617eb00671bfe15a298e62f9 100644 (file)
@@ -28,7 +28,7 @@ static struct playlist_info current_playlist;
  *
  * \return The return value of score_update().
  */
  *
  * \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);
 {
        /* always re-insert to the top of the tree */
        return score_update(aft_row, 0);