summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/rtadvd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-17 19:49:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-17 19:49:42 +0000
commitf664c99523803169394338e73ca135f9e0747e4c (patch)
tree2f994841c529b09007609269dbafc91aeb3fc069 /usr.sbin/rtadvd/rtadvd.c
parentc55ddf58f562dd3d0ed78b353331172be9cef96e (diff)
use volatile sig_atomic_t where possible; simply volatile i other places
Diffstat (limited to 'usr.sbin/rtadvd/rtadvd.c')
-rw-r--r--usr.sbin/rtadvd/rtadvd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c
index ad7288301b2..489d63285fb 100644
--- a/usr.sbin/rtadvd/rtadvd.c
+++ b/usr.sbin/rtadvd/rtadvd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtadvd.c,v 1.9 2001/02/04 06:22:05 itojun Exp $ */
+/* $OpenBSD: rtadvd.c,v 1.10 2001/11/17 19:49:40 deraadt Exp $ */
/* $KAME: rtadvd.c,v 1.50 2001/02/04 06:15:15 itojun Exp $ */
/*
@@ -68,8 +68,8 @@ static u_char *rcvcmsgbuf;
static size_t rcvcmsgbuflen;
static u_char *sndcmsgbuf = NULL;
static size_t sndcmsgbuflen;
-static int do_dump;
-static int do_die;
+volatile sig_atomic_t do_dump;
+volatile sig_atomic_t do_die;
struct msghdr sndmhdr;
struct iovec rcviov[2];
struct iovec sndiov[2];