Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/conf all ports are now fully prototyped and pointer-arit...



details:   https://anonhg.NetBSD.org/src/rev/f2768ee97a34
branches:  trunk
changeset: 537780:f2768ee97a34
user:      chs <chs%NetBSD.org@localhost>
date:      Sat Oct 05 17:17:48 2002 +0000

description:
all ports are now fully prototyped and pointer-arith clean.
turn on these warnings all the time.

diffstat:

 sys/conf/Makefile.kern.inc |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (26 lines):

diff -r a9e8fb3d11c1 -r f2768ee97a34 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Sat Oct 05 17:16:33 2002 +0000
+++ b/sys/conf/Makefile.kern.inc        Sat Oct 05 17:17:48 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.23 2002/09/29 07:22:58 sjg Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.24 2002/10/05 17:17:48 chs Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}. There are
@@ -51,15 +51,8 @@
 DBG=           # might contain unwanted -Ofoo
 DEFWARNINGS?=  yes
 .if (${DEFWARNINGS} == "yes")
-CWARNFLAGS+=   -Werror -Wall -Wno-main -Wno-format-zero-length
-WEAK_POINTERS?=        no
-.if !(${WEAK_POINTERS} == "yes")
-CWARNFLAGS+=   -Wpointer-arith
-.endif
-LOOSE_PROTOTYPES?= no
-.if !(${LOOSE_PROTOTYPES} == "yes")
+CWARNFLAGS+=   -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
 CWARNFLAGS+=   -Wmissing-prototypes -Wstrict-prototypes
-.endif
 # XXX Delete -Wuninitialized for now, since the compiler doesn't
 # XXX always get it right.  --thorpej
 CWARNFLAGS+=   -Wno-uninitialized



Home | Main Index | Thread Index | Old Index