diff options
author | simon | 2008-04-08 00:09:50 +0000 |
---|---|---|
committer | simon | 2008-04-08 00:09:50 +0000 |
commit | c06f9877f0fcdd9de366e07ab5ef9fc27bcb11da (patch) | |
tree | ba11f8cf9005bf303384c9b9a69ad1283f73a1a1 /xevents.c | |
parent | eb0148d6c88a8b09ab7bb1599a555cddb46671c9 (diff) | |
download | cwm-c06f9877f0fcdd9de366e07ab5ef9fc27bcb11da.tar.gz |
Make _xev_quit "volatile sig_atomic_t" for proper correctness.
Noticed by oga@, thanks!
Diffstat (limited to '')
-rw-r--r-- | xevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |