diff options
author | bde <bde@FreeBSD.org> | 1996-08-31 14:48:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-08-31 14:48:13 +0000 |
commit | 7d4c1814f6c8b48aaba422848781244a3a8e1685 (patch) | |
tree | d30aec0f7e14e7c815c7a2ac90c600b28f51abf5 /share/mk/bsd.kmod.mk | |
parent | f8b5cfc537cc8181d579a4fd086b618c24806f74 (diff) | |
download | FreeBSD-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 'share/mk/bsd.kmod.mk')
-rw-r--r-- | share/mk/bsd.kmod.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk index 4ab8b91..89fd5af 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.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} |