diff options
-rw-r--r-- | share/mk/bsd.kmod.mk | 6 | ||||
-rw-r--r-- | sys/conf/Makefile.i386 | 7 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 7 | ||||
-rw-r--r-- | sys/conf/kmod.mk | 6 | ||||
-rw-r--r-- | sys/i386/conf/Makefile.i386 | 7 |
5 files changed, 20 insertions, 13 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 diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 4a59052..f948e9b 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.69 1995/11/01 15:03:02 peter Exp $ +# $Id: Makefile.i386,v 1.70 1995/11/19 19:49:43 davidg Exp $ # # Makefile for FreeBSD # @@ -26,10 +26,11 @@ S= ../.. I386= ${S}/i386 CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ - -Wnested-externs + -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ + -Winline # # The following flags are next up for working on: -# -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations +# -Wall # # When working on removing warnings from code, the `-Werror' flag should be # of material assistance. diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 4a59052..f948e9b 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.69 1995/11/01 15:03:02 peter Exp $ +# $Id: Makefile.i386,v 1.70 1995/11/19 19:49:43 davidg Exp $ # # Makefile for FreeBSD # @@ -26,10 +26,11 @@ S= ../.. I386= ${S}/i386 CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ - -Wnested-externs + -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ + -Winline # # The following flags are next up for working on: -# -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations +# -Wall # # When working on removing warnings from code, the `-Werror' flag should be # of material assistance. 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 diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index 4a59052..f948e9b 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.69 1995/11/01 15:03:02 peter Exp $ +# $Id: Makefile.i386,v 1.70 1995/11/19 19:49:43 davidg Exp $ # # Makefile for FreeBSD # @@ -26,10 +26,11 @@ S= ../.. I386= ${S}/i386 CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ - -Wnested-externs + -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ + -Winline # # The following flags are next up for working on: -# -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations +# -Wall # # When working on removing warnings from code, the `-Werror' flag should be # of material assistance. |