diff options
author | ed <ed@FreeBSD.org> | 2009-05-31 20:59:20 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-05-31 20:59:20 +0000 |
commit | 08ebb1e23497ee768b075d41df4cd00c641b1907 (patch) | |
tree | 8ab854f67905b52639430476d6c45a3c001a0dda /usr.sbin/ipfwpcap/Makefile | |
parent | 5e539a33da89680845c8771dff661d6327bb9107 (diff) | |
download | FreeBSD-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/Makefile | 2 |
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) |