aboutsummaryrefslogtreecommitdiff
path: root/sbin/route/Makefile
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2010-02-27 10:18:33 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2010-02-27 10:18:33 +0000
commitf62e48f5368b68bcc25fc81a69695752d45a36cd (patch)
tree4c406fc2c6727676976426a402d18b2ce5684b6b /sbin/route/Makefile
parentb108792d900ae9749988b0053f534b0211ab25d4 (diff)
downloadsrc-f62e48f5368b68bcc25fc81a69695752d45a36cd.tar.gz
src-f62e48f5368b68bcc25fc81a69695752d45a36cd.zip
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)
Notes
Notes: svn path=/head/; revision=204406
Diffstat (limited to 'sbin/route/Makefile')
-rw-r--r--sbin/route/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile
index ef56dfd9286a..0f4cd67e41ed 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