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/i386/conf | |
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/i386/conf')
-rw-r--r-- | sys/arch/i386/conf/Makefile.i386 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index 227c6902915..d35ad07cff4 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.i386,v 1.90 2014/10/04 18:10:14 brad Exp $ +# $OpenBSD: Makefile.i386,v 1.91 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 -MD -MP -CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ +CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \ -Wno-main -Wno-uninitialized \ -Wframe-larger-than=2047 |