aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:41:05 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:41:05 +0200
commit4255bba0f7cbd4a1ac24859a65f8d974d1fb5a9b (patch)
treeb772aada976c129bd87759300e476b2d69ec2bf2 /src/player_control.c
parenta94845ee00d3107af7ffbe89bf1ec46380ae24ff (diff)
downloadmpd-4255bba0f7cbd4a1ac24859a65f8d974d1fb5a9b.tar.gz
mpd-4255bba0f7cbd4a1ac24859a65f8d974d1fb5a9b.tar.xz
mpd-4255bba0f7cbd4a1ac24859a65f8d974d1fb5a9b.zip
moved global variable "pc" to player.h
This is the last of the three variables. Now we don't need playerData.h anymore in most sources.
Diffstat (limited to 'src/player_control.c')
-rw-r--r--src/player_control.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/player_control.c b/src/player_control.c
new file mode 100644
index 000000000..1f6aecd97
--- /dev/null
+++ b/src/player_control.c
@@ -0,0 +1,21 @@
+/* the Music Player Daemon (MPD)
+ * Copyright (C) 2008 Max Kellermann <max@duempel.org>
+ * This project's homepage is: http://www.musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "player.h"
+
+struct player_control pc;