aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/netstat/Makefile
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2006-07-28 16:16:40 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2006-07-28 16:16:40 +0000
commit096146f88b65f745ca84e5537de72e430e8ad330 (patch)
tree8935d305c75dcfea6a10f10d3ac08de7e612c074 /usr.bin/netstat/Makefile
parent7b95a1ebbd9aafe9f196a75d95c7b06eaee999a1 (diff)
downloadsrc-096146f88b65f745ca84e5537de72e430e8ad330.tar.gz
src-096146f88b65f745ca84e5537de72e430e8ad330.zip
- Achieve WARNS=3 by using sparse initializers or avoiding initializers at all.
- Fix a nlist initialization: it should be terminated by a NULL entry. - Constify. - Catch an unused parameter. Tested on: i386 amd64 ia64
Notes
Notes: svn path=/head/; revision=160789
Diffstat (limited to 'usr.bin/netstat/Makefile')
-rw-r--r--usr.bin/netstat/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile
index 6168b6311f5e..04a2f5884bab 100644
--- a/usr.bin/netstat/Makefile
+++ b/usr.bin/netstat/Makefile
@@ -7,7 +7,7 @@ PROG= netstat
SRCS= if.c inet.c main.c mbuf.c mcast.c mroute.c route.c \
unix.c atalk.c netgraph.c mroute6.c ipsec.c bpf.c pfkey.c
-WARNS?= 2
+WARNS?= 3
CFLAGS+=-DIPSEC
CFLAGS+=-DFAST_IPSEC