diff options
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/playlist.c b/src/playlist.c index 06df43fc3..193989bdb 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -217,7 +217,7 @@ int clearStoredPlaylist(int fd, const char *utf8file) return removeAllFromStoredPlaylistByPath(fd, utf8file); } -int showPlaylist(int fd) +void showPlaylist(int fd) { int i; char path_max_tmp[MPD_PATH_MAX]; @@ -226,8 +226,6 @@ int showPlaylist(int fd) fdprintf(fd, "%i:%s\n", i, get_song_url(path_max_tmp, playlist.songs[i])); } - - return 0; } void savePlaylistState(FILE *fp) @@ -1224,7 +1222,7 @@ void previousSongInPlaylist(void) } } -int shufflePlaylist(mpd_unused int fd) +void shufflePlaylist(mpd_unused int fd) { int i; int ri; @@ -1253,8 +1251,6 @@ int shufflePlaylist(mpd_unused int fd) incrPlaylistVersion(); } - - return 0; } int deletePlaylist(int fd, const char *utf8file) |