aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
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/main.c
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/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 9675074f9..7df773146 100644
--- a/src/main.c
+++ b/src/main.c
@@ -235,7 +235,6 @@ int main(int argc, char *argv[])
event_pipe_init();
event_pipe_register(PIPE_EVENT_IDLE, idle_event_emitted);
- event_pipe_register(PIPE_EVENT_PLAYLIST, syncPlayerAndPlaylist);
path_global_init();
mapper_init();