aboutsummaryrefslogtreecommitdiffstats
path: root/src/Playlist.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 22:55:11 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 22:55:11 +0100
commite89bd30db56c282c9c97d3d02c01155e7d8daa80 (patch)
tree7d0ca6d39dce6f5f0f156fb50aecf9c0e73fd030 /src/Playlist.hxx
parent2a9d933a81a6192f4d30cbf68253727f92f9bdac (diff)
downloadmpd-e89bd30db56c282c9c97d3d02c01155e7d8daa80.tar.gz
mpd-e89bd30db56c282c9c97d3d02c01155e7d8daa80.tar.xz
mpd-e89bd30db56c282c9c97d3d02c01155e7d8daa80.zip
Playlist: pass max_length to playlist_init()
Move the configuration lookup to Main.cxx.
Diffstat (limited to '')
-rw-r--r--src/Playlist.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Playlist.hxx b/src/Playlist.hxx
index 3bbb112b7..3256f6422 100644
--- a/src/Playlist.hxx
+++ b/src/Playlist.hxx
@@ -74,13 +74,13 @@ struct playlist {
extern struct playlist g_playlist;
void
-playlist_global_init(void);
+playlist_global_init(unsigned max_length);
void
playlist_global_finish(void);
void
-playlist_init(struct playlist *playlist);
+playlist_init(struct playlist *playlist, unsigned max_length);
void
playlist_finish(struct playlist *playlist);