Synced with Makefile.i386: added -Wunused.

This commit is contained in:
Bruce Evans 1996-06-17 15:11:10 +00:00
parent 333468bac7
commit 5d1999ec59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16434
2 changed files with 4 additions and 4 deletions

View File

@ -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 <bsd.kmod.mk> handles installing Loadable Kernel Modules.
# <bsd.kmod.mk> 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}

View File

@ -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 <bsd.kmod.mk> handles installing Loadable Kernel Modules.
# <bsd.kmod.mk> 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}