diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-11-29 09:32:48 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-11-29 09:32:48 +0000 |
commit | be5314f0aa8cf8eebdbca1f5a458db7e0d76826e (patch) | |
tree | 6794a1b6fbd8fc78900aea3cb5069a86857a518e /games | |
parent | 9f35ef98a75e416220366f7f6ac0f8864d6239fb (diff) |
Use volatile sig_atomic_t rather than int for sigtermed, from pjanzen@
ok miod@, otto@
Diffstat (limited to 'games')
-rw-r--r-- | games/grdc/grdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c index 8cf7f825e24..a479c6bfb3c 100644 --- a/games/grdc/grdc.c +++ b/games/grdc/grdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grdc.c,v 1.13 2004/11/29 08:52:28 jsg Exp $ */ +/* $OpenBSD: grdc.c,v 1.14 2004/11/29 09:32:47 jsg Exp $ */ /* * * Copyright 2002 Amos Shapir. Public domain. @@ -35,7 +35,7 @@ short disp[11] = { long old[6], next[6], new[6], mask; char scrol; -int sigtermed=0; +volatile sig_atomic_t sigtermed = 0; int hascolor = 0; |