diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-01-11 19:25:15 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-01-11 19:25:15 +0000 |
commit | e459dfb547122bbe4cfae3d5220990a319a2f5b9 (patch) | |
tree | ccdbca8daf32f40c2690721733dbda4c5bbc4e84 /sys/arch/macppc | |
parent | 0de2c85227eb58c9b68d5de7ee5464f370a61111 (diff) |
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
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r-- | sys/arch/macppc/conf/Makefile.macppc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |