From 0bccbcb18e0797c13e3efec82d23f9d90683d568 Mon Sep 17 00:00:00 2001 From: uqs Date: Sat, 27 Feb 2010 10:18:33 +0000 Subject: 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) --- sbin/route/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/route/Makefile') 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 -- cgit v1.1