summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorSimon Bertrang <simon@cvs.openbsd.org>2008-04-08 00:09:51 +0000
committerSimon Bertrang <simon@cvs.openbsd.org>2008-04-08 00:09:51 +0000
commitd126c5b4ab0e3190b8bc16705c50e28092a0cf90 (patch)
treeca6b9210a98486b0f9c6e66dfd8524df413ad726 /app
parent4a6a046e76c217026e87c8e24a6b6e408b6b8637 (diff)
Make _xev_quit "volatile sig_atomic_t" for proper correctness.
Noticed by oga@, thanks!
Diffstat (limited to 'app')
-rw-r--r--app/cwm/xevents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index 66585983b..946b9bd5d 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/xevents.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: xevents.c,v 1.9 2008/04/07 23:47:09 simon Exp $
+ * $Id: xevents.c,v 1.10 2008/04/08 00:09:50 simon Exp $
*/
/*
@@ -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)