aboutsummaryrefslogtreecommitdiff
path: root/dhcp6c.c
diff options
context:
space:
mode:
authorSUZUKI, Shinsuke <suz@kame.net>2007-07-24 15:48:58 +0000
committerBjørn Mork <bjorn@mork.no>2010-08-06 15:37:37 +0200
commit47802624717c287dbeec18dd6f76e7683fc13ab0 (patch)
tree099c6cdeb2d80bd7e5390f41f0f3d97e0da2a0cd /dhcp6c.c
parent8cd1aa21f41750e38f3e3f7e907b7926ebe473c4 (diff)
use sig_atomic_t for a signal-handler variable (Bug-ID 1678874)
Diffstat (limited to 'dhcp6c.c')
-rw-r--r--dhcp6c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp6c.c b/dhcp6c.c
index 7731ba7..1caaaa5 100644
--- a/dhcp6c.c
+++ b/dhcp6c.c
@@ -81,7 +81,7 @@
static int debug = 0;
static int exit_ok = 0;
-static u_long sig_flags = 0;
+static sig_atomic_t sig_flags = 0;
#define SIGF_TERM 0x1
#define SIGF_HUP 0x2