summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 20:52:25 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 20:52:25 +0000
commitfd2075fc6d32c06c6010f0396029ef5bfe065883 (patch)
treeb9213e32fce0f4aff6adaf8bbb05dfa82657a5ab /include
parent7ca546f0d8e9aec988c2469dec93804ac9ece28b (diff)
Mark variables modified in signal handlers as volatile (part of Sun bug idXORG-6_8_99_16
Diffstat (limited to 'include')
-rw-r--r--include/misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/misc.h b/include/misc.h
index b6123ac..3ead872 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -60,8 +60,8 @@ typedef struct _XServer *XServerPtr;
extern int nextFreeClientID;
extern int nClients;
extern char *display_name;
-extern char dispatchException;
-extern char isItTimeToYield;
+extern volatile char dispatchException;
+extern volatile char isItTimeToYield;
extern int MaxClients;
/* The following byte swapping tools are duplicated in several places.