summaryrefslogtreecommitdiffstats
path: root/sys/conf/kmod.mk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-16 01:57:25 +0000
committerbde <bde@FreeBSD.org>1995-12-16 01:57:25 +0000
commita98acddd049887630b40a28d26f92685a8f965c8 (patch)
tree0649b27779c53ed374c970a96615a2171bc919fe /sys/conf/kmod.mk
parent662e3ea39bcded2d3a3922028e6ae5d89f9abc25 (diff)
downloadFreeBSD-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 'sys/conf/kmod.mk')
-rw-r--r--sys/conf/kmod.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index d3d53af..80004a3 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/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
OpenPOWER on IntegriCloud