aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 13:39:19 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 13:39:19 +0200
commit20feb0cbbab3c1516f0309a87c3d27f9801c7938 (patch)
tree8dbfb88a60c022d877edc1f2e677e7a147f4fa30 /src/playlist.h
parente1bf96672e8ef46b4ed20eba2c91efa048c4789c (diff)
downloadmpd-20feb0cbbab3c1516f0309a87c3d27f9801c7938.tar.gz
mpd-20feb0cbbab3c1516f0309a87c3d27f9801c7938.tar.xz
mpd-20feb0cbbab3c1516f0309a87c3d27f9801c7938.zip
playlist: showPlaylist() and shufflePlaylist() cannot fail
Make them both return void.
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h4
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);