diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:39:07 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-02 00:20:18 -0700 |
commit | ff13366268bde4493b431f50ae8fa8fcff2c9c80 (patch) | |
tree | 779d1ba42ba2f7fe06e37815b0d4ef70844e4da4 | |
parent | 82a37682c692896bbf74fbaa91f5da727e8e1b0e (diff) | |
download | mpd-ff13366268bde4493b431f50ae8fa8fcff2c9c80.tar.gz mpd-ff13366268bde4493b431f50ae8fa8fcff2c9c80.tar.xz mpd-ff13366268bde4493b431f50ae8fa8fcff2c9c80.zip |
song: don't export newNullSong()
The function newNullSong() is only used internally in song.c.
-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 2958d0dc9..deba96ada 100644 --- a/src/song.c +++ b/src/song.c @@ -32,7 +32,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 fc9d1ecb7..b7dc6c90b 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 *); |