aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-12 18:51:16 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-12 18:51:16 +0000
commit6bc445d00f7479c106828651abc3d76ddee5a5a5 (patch)
tree48ee93aacef62c3abddf29ad0f860917b376ebb8 /src/player.c
parent57742785b4ebd756ea4c7b05aeed873a103bb9e3 (diff)
downloadmpd-6bc445d00f7479c106828651abc3d76ddee5a5a5.tar.gz
mpd-6bc445d00f7479c106828651abc3d76ddee5a5a5.tar.xz
mpd-6bc445d00f7479c106828651abc3d76ddee5a5a5.zip
volatile fun-ness
git-svn-id: https://svn.musicpd.org/mpd/trunk@705 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.c b/src/player.c
index ecf7036f3..417b76f69 100644
--- a/src/player.c
+++ b/src/player.c
@@ -45,8 +45,8 @@
#include <errno.h>
#include <fcntl.h>
-int player_pid = 0;
-int player_termSent = 0;
+volatile int player_pid = 0;
+volatile int player_termSent = 0;
void resetPlayer() {
int pid;