diff options
-rw-r--r-- | difs/dispatch.c | 4 | ||||
-rw-r--r-- | include/globals.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/difs/dispatch.c b/difs/dispatch.c index cc4b5b7..f1a0a85 100644 --- a/difs/dispatch.c +++ b/difs/dispatch.c @@ -71,8 +71,8 @@ in this Software without prior written authorization from The Open Group. static void kill_all_clients(void); -char dispatchException = 0; -char isItTimeToYield; +volatile char dispatchException = 0; +volatile char isItTimeToYield; ClientPtr currentClient; diff --git a/include/globals.h b/include/globals.h index 650bb55..678a7d9 100644 --- a/include/globals.h +++ b/include/globals.h @@ -60,8 +60,8 @@ extern int currentMaxClients; extern long MaxClients; extern int serverGeneration; -extern char isItTimeToYield; -extern char dispatchException; +extern volatile char isItTimeToYield; +extern volatile char dispatchException; extern int argcGlobal; extern char **argvGlobal; |