summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2003-05-19 07:53:55 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2003-05-19 07:53:55 +0000
commitd2ed9c3749d49b686fce708eeb65427fbd1835f1 (patch)
treef5d61ad7718ef8e309de603ef751ee867d6ca19d /games
parent7bbe38b9f132766c18137c0a623197e4a3369a49 (diff)
volatile sig_atomic_t
Diffstat (limited to 'games')
-rw-r--r--games/worm/worm.c8
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);