This solves. I'm not sure how to deal with other warning options.
Masao
Index: sys/modules/Makefile.inc
===================================================================
RCS file: /cvsroot/src/sys/modules/Makefile.inc,v
retrieving revision 1.1
diff -u -r1.1 Makefile.inc
--- sys/modules/Makefile.inc 16 Jan 2008 12:34:56 -0000 1.1
+++ sys/modules/Makefile.inc 14 Dec 2009 18:42:52 -0000
@@ -2,6 +2,7 @@
S!= cd ${.CURDIR}/../..;pwd
CPPFLAGS+= -I${NETBSDSRCDIR}/common/include
+COPTS+= -std=gnu99
USE_FORT= no
WARNS?= 1
--
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635