aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 09:39:07 +0200
committerMax Kellermann <max@duempel.org>2008-08-29 09:39:07 +0200
commit031522060aa64fea48e30480bee9b5daa3737089 (patch)
treee3ae1f2c33ede96cd3f127d99f4c0e1359b761b7
parenta208d654b32a17ce60fbb2d48deb1d45b100cb06 (diff)
downloadmpd-031522060aa64fea48e30480bee9b5daa3737089.tar.gz
mpd-031522060aa64fea48e30480bee9b5daa3737089.tar.xz
mpd-031522060aa64fea48e30480bee9b5daa3737089.zip
song: don't export newNullSong()
The function newNullSong() is only used internally in song.c.
-rw-r--r--src/song.c2
-rw-r--r--src/song.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/song.c b/src/song.c
index c34fab830..f7e71d76f 100644
--- a/src/song.c
+++ b/src/song.c
@@ -33,7 +33,7 @@
#include "os_compat.h"
-Song *newNullSong(void)
+static Song *newNullSong(void)
{
Song *song = xmalloc(sizeof(Song));
diff --git a/src/song.h b/src/song.h
index 4026fb7a9..f909c21ea 100644
--- a/src/song.h
+++ b/src/song.h
@@ -43,8 +43,6 @@ typedef struct _Song {
typedef List SongList;
-Song *newNullSong(void);
-
Song *newSong(const char *url, int songType, struct _Directory *parentDir);
void freeSong(Song *);