diff options
author | uqs <uqs@FreeBSD.org> | 2010-02-27 10:18:33 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2010-02-27 10:18:33 +0000 |
commit | 0bccbcb18e0797c13e3efec82d23f9d90683d568 (patch) | |
tree | 4c406fc2c6727676976426a402d18b2ce5684b6b /sbin/route/Makefile | |
parent | 5507bf921433cbb45958f3e841eea5a0959dba8b (diff) | |
download | FreeBSD-src-0bccbcb18e0797c13e3efec82d23f9d90683d568.zip FreeBSD-src-0bccbcb18e0797c13e3efec82d23f9d90683d568.tar.gz |
route(8): make WARNS=3 clean
- add static and const where appropriate
- check pointers against NULL
- minor styling nits
- it is actually WARNS=6 clean for non-strict alignment platforms
This is shamelessly stolen from DragonflyBSD and reduces our diff.
PR: bin/140078
Approved by: ed (co-mentor)
Diffstat (limited to 'sbin/route/Makefile')
-rw-r--r-- | sbin/route/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile index ef56dfd..0f4cd67 100644 --- a/sbin/route/Makefile +++ b/sbin/route/Makefile @@ -6,7 +6,7 @@ PROG= route MAN= route.8 SRCS= route.c keywords.h -WARNS?= 0 +WARNS?= 3 CLEANFILES+=keywords.h _keywords.tmp CFLAGS+= -DNS |