aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_save.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-04 18:56:41 +0100
committerMax Kellermann <max@duempel.org>2009-02-04 18:56:41 +0100
commit8d3205871cf398c4e187bb0d1ead28c46a25a8c1 (patch)
treed50a3219a796cff081316d9a31d6bb4f9edc2d2c /src/playlist_save.h
parent1720c7090dc3d590ffe1b5175e175143c09266f8 (diff)
downloadmpd-8d3205871cf398c4e187bb0d1ead28c46a25a8c1.tar.gz
mpd-8d3205871cf398c4e187bb0d1ead28c46a25a8c1.tar.xz
mpd-8d3205871cf398c4e187bb0d1ead28c46a25a8c1.zip
playlist: renamed global "playlist" variable to "g_playlist"
Export the "g_playlist" variable, and pass it to all playlist functions. This way, we can split playlist.c easier into separate parts. The code which initializes the singleton variable is moved to playlist_global.c.
Diffstat (limited to '')
-rw-r--r--src/playlist_save.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist_save.h b/src/playlist_save.h
index 151595755..084ea16ec 100644
--- a/src/playlist_save.h
+++ b/src/playlist_save.h
@@ -42,6 +42,6 @@ spl_save_queue(const char *name_utf8, const struct queue *queue);
* playlist.
*/
enum playlist_result
-playlist_load_spl(const char *name_utf8);
+playlist_load_spl(struct playlist *playlist, const char *name_utf8);
#endif