diff options
author | bde <bde@FreeBSD.org> | 1995-12-16 01:57:25 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-16 01:57:25 +0000 |
commit | a98acddd049887630b40a28d26f92685a8f965c8 (patch) | |
tree | 0649b27779c53ed374c970a96615a2171bc919fe /share | |
parent | 662e3ea39bcded2d3a3922028e6ae5d89f9abc25 (diff) | |
download | FreeBSD-src-a98acddd049887630b40a28d26f92685a8f965c8.zip FreeBSD-src-a98acddd049887630b40a28d26f92685a8f965c8.tar.gz |
Added `-Wstrict-prototypes -Wmissing-prototypes' to CWARNFLAGS so that
prototypes don't go missing again. Also added -Winline so that some
doubtful (non-)inlines get fixed.
bsd.kmod.mk:
Also added `-Wreturn-type -Wimplicit -Wnested-externs' to catch up
with the kernel.
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.kmod.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk index d3d53af..80004a3 100644 --- a/share/mk/bsd.kmod.mk +++ b/share/mk/bsd.kmod.mk @@ -1,5 +1,5 @@ # From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.kmod.mk,v 1.15 1995/10/15 16:56:56 phk Exp $ +# $Id: bsd.kmod.mk,v 1.16 1995/11/04 17:06:42 bde Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -13,7 +13,9 @@ # actually lives in /sys directly. # CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \ - -W -Wcomment -Wredundant-decls + -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ + -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ + -Winline KMODGRP?= bin KMODOWN?= bin |