make gotsig volatile. from Alexander von Gernler

svn:r149
This commit is contained in:
Niels Provos 2005-04-17 06:51:10 +00:00
parent 5e2ba12a89
commit 1d0d4bc66e

View File

@ -108,7 +108,7 @@ struct event_base *current_base = NULL;
/* Handle signals - This is a deprecated interface */
int (*event_sigcb)(void); /* Signal callback when gotsig is set */
int event_gotsig; /* Set in signal handler */
volatile int event_gotsig; /* Set in signal handler */
/* Prototypes */
static void event_queue_insert(struct event_base *, struct event *, int);