aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-01-03 07:22:13 +0000
committerEric Wong <normalperson@yhbt.net>2008-01-03 07:22:13 +0000
commitb70912031d2dd899635c7b81fee82edb8047cfaa (patch)
tree7635e45bc4a1d6780c091b1908b327f08b2971eb
parent7de5f9cef1dee812c4b312832635538c78b20d9d (diff)
downloadmpd-b70912031d2dd899635c7b81fee82edb8047cfaa.tar.gz
mpd-b70912031d2dd899635c7b81fee82edb8047cfaa.tar.xz
mpd-b70912031d2dd899635c7b81fee82edb8047cfaa.zip
playerCloseAudio() is static
git-svn-id: https://svn.musicpd.org/mpd/trunk@7127 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/player.c4
-rw-r--r--src/player.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/player.c b/src/player.c
index b01753de2..f41a35cc9 100644
--- a/src/player.c
+++ b/src/player.c
@@ -44,6 +44,8 @@
#include <errno.h>
#include <fcntl.h>
+static void playerCloseAudio(void);
+
volatile int player_pid = 0;
void clearPlayerPid(void)
@@ -377,7 +379,7 @@ char *getPlayerErrorStr(void)
return NULL;
}
-void playerCloseAudio(void)
+static void playerCloseAudio(void)
{
PlayerControl *pc = &(getPlayerData()->playerControl);
diff --git a/src/player.h b/src/player.h
index 462c0b2c9..03e16b72f 100644
--- a/src/player.h
+++ b/src/player.h
@@ -102,8 +102,6 @@ int playerPause(int fd);
int playerStop(int fd);
-void playerCloseAudio(void);
-
void playerKill(void);
int getPlayerTotalTime(void);