summary refs log tree commit diff
diff options
context:
space:
mode:
authorsimon <simon>2008-04-08 00:09:50 +0000
committersimon <simon>2008-04-08 00:09:50 +0000
commit539b5c65340ff6ebdd83f0b491f2f1e212e5e75e (patch)
treec907d001cb8c76dd4020d794c5a8f140ca5e0109
parent0f182230426e86175a00b6e9328cc8d9bf0b876e (diff)
downloadcwm-539b5c65340ff6ebdd83f0b491f2f1e212e5e75e.tar.gz
cwm-539b5c65340ff6ebdd83f0b491f2f1e212e5e75e.tar.xz
cwm-539b5c65340ff6ebdd83f0b491f2f1e212e5e75e.zip
Make _xev_quit "volatile sig_atomic_t" for proper correctness.
Noticed by oga@, thanks!
-rw-r--r--xevents.c2
1 files changed, 1 insertions, 1 deletions
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)