summaryrefslogtreecommitdiff
path: root/usr.sbin/bootpd/bootpd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-08 08:06:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-08 08:06:41 +0000
commit0f7c25c4b735239e439cd06e099c7611d45ea8f6 (patch)
tree291b0bedce82a46b835de0188d23581971f94bee /usr.sbin/bootpd/bootpd.c
parente3ef558bb7b713724f9a7aa7781c29cacaec53a0 (diff)
volatile sig_atomic_t for sig handler vars; cloder
Diffstat (limited to 'usr.sbin/bootpd/bootpd.c')
-rw-r--r--usr.sbin/bootpd/bootpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bootpd/bootpd.c b/usr.sbin/bootpd/bootpd.c
index 23216ca8a0a..153ffe9c8c3 100644
--- a/usr.sbin/bootpd/bootpd.c
+++ b/usr.sbin/bootpd/bootpd.c
@@ -21,7 +21,7 @@ SOFTWARE.
************************************************************************/
#ifndef lint
-static char rcsid[] = "$Id: bootpd.c,v 1.11 2002/09/06 19:52:26 deraadt Exp $";
+static char rcsid[] = "$Id: bootpd.c,v 1.12 2002/09/08 08:06:40 deraadt Exp $";
#endif
/*
@@ -168,8 +168,8 @@ char hostname[MAXHOSTNAMELEN]; /* System host name */
struct in_addr my_ip_addr;
/* Flags set by signal catcher. */
-PRIVATE int do_readtab = 0;
-PRIVATE int do_dumptab = 0;
+PRIVATE volatile sig_atomic_t do_readtab = 0;
+PRIVATE volatile sig_atomic_t do_dumptab = 0;
/*
* Globals below are associated with the bootp database file (bootptab).