song: don't export newNullSong()
The function newNullSong() is only used internally in song.c.
This commit is contained in:
		| @@ -33,7 +33,7 @@ | |||||||
|  |  | ||||||
| #include "os_compat.h" | #include "os_compat.h" | ||||||
|  |  | ||||||
| Song *newNullSong(void) | static Song *newNullSong(void) | ||||||
| { | { | ||||||
| 	Song *song = xmalloc(sizeof(Song)); | 	Song *song = xmalloc(sizeof(Song)); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -43,8 +43,6 @@ typedef struct _Song { | |||||||
|  |  | ||||||
| typedef List SongList; | typedef List SongList; | ||||||
|  |  | ||||||
| Song *newNullSong(void); |  | ||||||
|  |  | ||||||
| Song *newSong(const char *url, int songType, struct _Directory *parentDir); | Song *newSong(const char *url, int songType, struct _Directory *parentDir); | ||||||
|  |  | ||||||
| void freeSong(Song *); | void freeSong(Song *); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann