diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:39:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-29 09:39:07 +0200 |
commit | 031522060aa64fea48e30480bee9b5daa3737089 (patch) | |
tree | e3ae1f2c33ede96cd3f127d99f4c0e1359b761b7 /src | |
parent | a208d654b32a17ce60fbb2d48deb1d45b100cb06 (diff) | |
download | mpd-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.
Diffstat (limited to '')
-rw-r--r-- | src/song.c | 2 | ||||
-rw-r--r-- | src/song.h | 2 |
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 *); |