mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
volatile sig_atomic_t
This commit is contained in:
parent
193681d2fb
commit
ac54bff5ac
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user