From 539b5c65340ff6ebdd83f0b491f2f1e212e5e75e Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 8 Apr 2008 00:09:50 +0000 Subject: Make _xev_quit "volatile sig_atomic_t" for proper correctness. Noticed by oga@, thanks! --- xevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xevents.c b/xevents.c index b0d1c89..d3209ee 100644 --- a/xevents.c +++ b/xevents.c @@ -451,7 +451,7 @@ out: static struct xevent_q _xevq, _xevq_putaway; static short _xev_q_lock = 0; -int _xev_quit = 0; +volatile sig_atomic_t _xev_quit = 0; void xev_init(void) -- cgit 1.4.1