summaryrefslogtreecommitdiff
path: root/games/worm/worm.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/worm/worm.c')
-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);