diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-03 18:28:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-03 18:28:50 +0000 |
commit | b151344d5d2da00c87386849e29fc64bf3532834 (patch) | |
tree | ea2eaad0e159872be09e433cec49fb6f40447c80 /sbin/pflogd | |
parent | e20bd2e20ceb7d4aa52253456a17d321ad67572a (diff) |
use sig_atomic_t; cloder
Diffstat (limited to 'sbin/pflogd')
-rw-r--r-- | sbin/pflogd/pflogd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/pflogd/pflogd.c b/sbin/pflogd/pflogd.c index 6c259261c1c..d07454ecb54 100644 --- a/sbin/pflogd/pflogd.c +++ b/sbin/pflogd/pflogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pflogd.c,v 1.12 2002/05/23 09:51:12 deraadt Exp $ */ +/* $OpenBSD: pflogd.c,v 1.13 2002/09/03 18:28:49 deraadt Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -60,7 +60,8 @@ pcap_dumper_t *dpcap; int Debug = 0; int snaplen = DEF_SNAPLEN; -int gotsig_close, gotsig_alrm, gotsig_hup; + +volatile sig_atomic_t gotsig_close, gotsig_alrm, gotsig_hup; char *filename = PFLOGD_LOG_FILE; char *interface = PFLOGD_DEFAULT_IF; |