From 031522060aa64fea48e30480bee9b5daa3737089 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Aug 2008 09:39:07 +0200 Subject: song: don't export newNullSong() The function newNullSong() is only used internally in song.c. --- src/song.c | 2 +- src/song.h | 2 -- 2 files changed, 1 insertion(+), 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 *); -- cgit v1.2.3