summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ipfwpcap/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-05-31 20:59:20 +0000
committered <ed@FreeBSD.org>2009-05-31 20:59:20 +0000
commit08ebb1e23497ee768b075d41df4cd00c641b1907 (patch)
tree8ab854f67905b52639430476d6c45a3c001a0dda /usr.sbin/ipfwpcap/Makefile
parent5e539a33da89680845c8771dff661d6327bb9107 (diff)
downloadFreeBSD-src-08ebb1e23497ee768b075d41df4cd00c641b1907.zip
FreeBSD-src-08ebb1e23497ee768b075d41df4cd00c641b1907.tar.gz
Several cleanups to ipfwpcap(8).
- Enable WARNS?=6. - Include missing headers. - Mark prog and pidfile as static. Remove unneeded initializer. - Use ANSI prototypes. - Remove unneeded fp variable. - snprintf() guarantees the buffer to be null terminated. Remove unneeded - 1 and bzero call. - Remove unneeded casting. Submitted by: Pawel Worach, Christoph Mallon
Diffstat (limited to 'usr.sbin/ipfwpcap/Makefile')
-rw-r--r--usr.sbin/ipfwpcap/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ipfwpcap/Makefile b/usr.sbin/ipfwpcap/Makefile
index d16f888..5615eb1 100644
--- a/usr.sbin/ipfwpcap/Makefile
+++ b/usr.sbin/ipfwpcap/Makefile
@@ -11,6 +11,8 @@ DPADD= ${LIBPCAP}
MAN= ipfwpcap.8
+WARNS?= 6
+
.include <bsd.prog.mk>
test: $(CMD)
OpenPOWER on IntegriCloud