diff options
author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-28 16:16:40 +0000 |
---|---|---|
committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-28 16:16:40 +0000 |
commit | 096146f88b65f745ca84e5537de72e430e8ad330 (patch) | |
tree | 8935d305c75dcfea6a10f10d3ac08de7e612c074 /usr.bin/netstat/Makefile | |
parent | 7b95a1ebbd9aafe9f196a75d95c7b06eaee999a1 (diff) | |
download | src-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/Makefile | 2 |
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 |