summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--di/dispatch.c4
-rw-r--r--include/misc.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/di/dispatch.c b/di/dispatch.c
index 53ac5ca..a5705cc 100644
--- a/di/dispatch.c
+++ b/di/dispatch.c
@@ -47,8 +47,8 @@ HandleLargeRequest(
int nextFreeClientID; /* always MIN free client ID */
int nClients; /* number active clients */
char *display_name = 0;
-char dispatchException = 0;
-char isItTimeToYield;
+volatile char dispatchException = 0;
+volatile char isItTimeToYield;
Bool lbxUseLbx = TRUE;
Bool lbxCompressImages = TRUE;
Bool lbxDoAtomShortCircuiting = TRUE;
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.