summaryrefslogtreecommitdiffstats
path: root/sys/conf/kmod.mk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-08-31 14:48:13 +0000
committerbde <bde@FreeBSD.org>1996-08-31 14:48:13 +0000
commit7d4c1814f6c8b48aaba422848781244a3a8e1685 (patch)
treed30aec0f7e14e7c815c7a2ac90c600b28f51abf5 /sys/conf/kmod.mk
parentf8b5cfc537cc8181d579a4fd086b618c24806f74 (diff)
downloadFreeBSD-src-7d4c1814f6c8b48aaba422848781244a3a8e1685.zip
FreeBSD-src-7d4c1814f6c8b48aaba422848781244a3a8e1685.tar.gz
Don't depend in the kernel on the gcc feature of doing arithmetic on
pointers of type `void *'. Warn about this in future.
Diffstat (limited to 'sys/conf/kmod.mk')
-rw-r--r--sys/conf/kmod.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 4ab8b91..89fd5af 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.23 1996/06/24 04:24:00 jkh Exp $
+# $Id: bsd.kmod.mk,v 1.24 1996/06/30 22:16:19 jkh 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 -Wunused
+ -Winline -Wunused -Wpointer-arith
CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \
${CWARNFLAGS}
OpenPOWER on IntegriCloud