diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2003-05-19 07:53:55 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2003-05-19 07:53:55 +0000 |
commit | d2ed9c3749d49b686fce708eeb65427fbd1835f1 (patch) | |
tree | f5d61ad7718ef8e309de603ef751ee867d6ca19d /games/worm/worm.c | |
parent | 7bbe38b9f132766c18137c0a623197e4a3369a49 (diff) |
volatile sig_atomic_t
Diffstat (limited to 'games/worm/worm.c')
-rw-r--r-- | games/worm/worm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/worm/worm.c b/games/worm/worm.c index 333f4e9df8d..9de4db5d136 100644 --- a/games/worm/worm.c +++ b/games/worm/worm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: worm.c,v 1.18 2002/12/06 21:48:51 millert Exp $ */ +/* $OpenBSD: worm.c,v 1.19 2003/05/19 07:53:54 pjanzen Exp $ */ /* * Copyright (c) 1980, 1993 @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: worm.c,v 1.18 2002/12/06 21:48:51 millert Exp $"; +static char rcsid[] = "$OpenBSD: worm.c,v 1.19 2003/05/19 07:53:54 pjanzen Exp $"; #endif #endif /* not lint */ @@ -85,8 +85,8 @@ int visible_len; int lastch; char outbuf[BUFSIZ]; -int wantleave; -int wantsuspend; +volatile sig_atomic_t wantleave = 0; +volatile sig_atomic_t wantsuspend = 0; void crash(void); void display(struct body *, char); |