diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 13:39:19 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 13:39:19 +0200 |
commit | 20feb0cbbab3c1516f0309a87c3d27f9801c7938 (patch) | |
tree | 8dbfb88a60c022d877edc1f2e677e7a147f4fa30 /src/playlist.h | |
parent | e1bf96672e8ef46b4ed20eba2c91efa048c4789c (diff) | |
download | mpd-20feb0cbbab3c1516f0309a87c3d27f9801c7938.tar.gz mpd-20feb0cbbab3c1516f0309a87c3d27f9801c7938.tar.xz mpd-20feb0cbbab3c1516f0309a87c3d27f9801c7938.zip |
playlist: showPlaylist() and shufflePlaylist() cannot fail
Make them both return void.
Diffstat (limited to '')
-rw-r--r-- | src/playlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.h b/src/playlist.h index 9ef91e3e0..ff05dca24 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -61,7 +61,7 @@ int addToStoredPlaylist(int fd, const char *file, const char *utf8file); int addSongToPlaylist(int fd, Song * song, int *added_id); -int showPlaylist(int fd); +void showPlaylist(int fd); int deleteFromPlaylist(int fd, int song); @@ -83,7 +83,7 @@ void syncPlayerAndPlaylist(void); void previousSongInPlaylist(void); -int shufflePlaylist(int fd); +void shufflePlaylist(int fd); int savePlaylist(int fd, const char *utf8file); |