From 08ebb1e23497ee768b075d41df4cd00c641b1907 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 31 May 2009 20:59:20 +0000 Subject: 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 --- usr.sbin/ipfwpcap/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.sbin/ipfwpcap/Makefile') 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 test: $(CMD) -- cgit v1.1