aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-11 23:37:18 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-11 23:37:18 +0000
commit26f72edc468b235ee735821be54856ccfce87fbd (patch)
tree1650dac6e15e57a1040d5b32b9eae92352f9b641 /src/decode.c
parentae33b348afa800447db9344cf6e5d082f1a1fcb3 (diff)
downloadmpd-26f72edc468b235ee735821be54856ccfce87fbd.tar.gz
mpd-26f72edc468b235ee735821be54856ccfce87fbd.tar.xz
mpd-26f72edc468b235ee735821be54856ccfce87fbd.zip
add volatile qualifiers to some shared mem buffer stuff, to enusre compiler
doesn't optimize out order sensitive stuff git-svn-id: https://svn.musicpd.org/mpd/trunk@698 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index 5cb5cfa20..4b50192b4 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -52,7 +52,7 @@
#include <unistd.h>
#include <string.h>
-int * decode_pid = NULL;
+int volatile * decode_pid = NULL;
void decodeSigHandler(int sig) {
if(sig==SIGCHLD) {