diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk index 00c72acefae5..dde7ea09ecd8 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.20 1996/04/29 15:37:30 wosch Exp $ +# $Id: bsd.kmod.mk,v 1.21 1996/05/25 23:09:47 wosch Exp $ # # The include file handles installing Loadable Kernel Modules. # includes the file named "../Makefile.inc" if it exists, @@ -93,7 +93,7 @@ # CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline + -Winline -Wunused CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \ ${CWARNFLAGS} diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 00c72acefae5..dde7ea09ecd8 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.20 1996/04/29 15:37:30 wosch Exp $ +# $Id: bsd.kmod.mk,v 1.21 1996/05/25 23:09:47 wosch Exp $ # # The include file handles installing Loadable Kernel Modules. # includes the file named "../Makefile.inc" if it exists, @@ -93,7 +93,7 @@ # CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline + -Winline -Wunused CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \ ${CWARNFLAGS}