diff options
author | Bruce Evans <bde@FreeBSD.org> | 1996-08-31 14:48:13 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1996-08-31 14:48:13 +0000 |
commit | 09a8dfa2609f6be79252c94d3b959ec2cf1a0835 (patch) | |
tree | d30aec0f7e14e7c815c7a2ac90c600b28f51abf5 /share | |
parent | 454f40052a75a6f45099d46fa12524ccdb7da8a5 (diff) | |
download | src-09a8dfa2609f6be79252c94d3b959ec2cf1a0835.tar.gz src-09a8dfa2609f6be79252c94d3b959ec2cf1a0835.zip |
Don't depend in the kernel on the gcc feature of doing arithmetic on
pointers of type `void *'. Warn about this in future.
Notes
Notes:
svn path=/head/; revision=17971
Diffstat (limited to 'share')
-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 4ab8b91b4ac1..89fd5afd3138 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} |