From e459dfb547122bbe4cfae3d5220990a319a2f5b9 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 11 Jan 2015 19:25:15 +0000 Subject: switch prototype warnings to implicit-declaration warnings. This should catch all the same bad cases, but be a little less aggravating in circumstances where a prototype isn't necessary ok deraadt --- sys/arch/macppc/conf/Makefile.macppc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/macppc') diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc index 73f90de94c0..aebfb736dc9 100644 --- a/sys/arch/macppc/conf/Makefile.macppc +++ b/sys/arch/macppc/conf/Makefile.macppc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.macppc,v 1.69 2014/10/04 18:10:14 brad Exp $ +# $OpenBSD: Makefile.macppc,v 1.70 2015/01/11 19:25:13 tedu Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -23,7 +23,7 @@ _archdir?= $S/arch/${_arch} INCLUDES= -nostdinc -I$S -I. -I$S/arch CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP -CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ +CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \ -Wno-main -Wno-uninitialized \ -Wframe-larger-than=2047 -- cgit v1.2.3