Index: distrib/sets/lists/comp/ad.arm =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/ad.arm,v retrieving revision 1.36 diff -u -p -r1.36 ad.arm --- distrib/sets/lists/comp/ad.arm 7 Jul 2011 08:46:21 -0000 1.36 +++ distrib/sets/lists/comp/ad.arm 11 Jul 2011 20:49:09 -0000 @@ -64,12 +64,12 @@ ./usr/include/arm/rwlock.h comp-c-include ./usr/include/arm/setjmp.h comp-c-include ./usr/include/arm/signal.h comp-c-include -./usr/include/arm/stdarg.h comp-c-include +./usr/include/arm/stdarg.h comp-obsolete obsolete ./usr/include/arm/swi.h comp-c-include ./usr/include/arm/sysarch.h comp-c-include ./usr/include/arm/trap.h comp-c-include ./usr/include/arm/types.h comp-c-include -./usr/include/arm/varargs.h comp-c-include +./usr/include/arm/varargs.h comp-obsolete obsolete ./usr/include/arm/wchar_limits.h comp-c-include ./usr/include/arm32/bootconfig.h comp-obsolete obsolete ./usr/include/arm32/cpufunc.h comp-obsolete obsolete Index: distrib/sets/lists/comp/ad.armeb =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/ad.armeb,v retrieving revision 1.3 diff -u -p -r1.3 ad.armeb --- distrib/sets/lists/comp/ad.armeb 7 Jul 2011 08:46:21 -0000 1.3 +++ distrib/sets/lists/comp/ad.armeb 11 Jul 2011 20:49:12 -0000 @@ -68,12 +68,12 @@ ./usr/include/arm/rwlock.h comp-c-include ./usr/include/arm/setjmp.h comp-c-include ./usr/include/arm/signal.h comp-c-include -./usr/include/arm/stdarg.h comp-c-include +./usr/include/arm/stdarg.h comp-obsolete obsolete ./usr/include/arm/swi.h comp-c-include ./usr/include/arm/sysarch.h comp-c-include ./usr/include/arm/trap.h comp-c-include ./usr/include/arm/types.h comp-c-include -./usr/include/arm/varargs.h comp-c-include +./usr/include/arm/varargs.h comp-obsolete obsolete ./usr/include/arm/wchar_limits.h comp-c-include ./usr/include/arm32/bootconfig.h comp-obsolete obsolete ./usr/include/arm32/cpufunc.h comp-obsolete obsolete Index: distrib/sets/lists/comp/ad.hppa =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/ad.hppa,v retrieving revision 1.4 diff -u -p -r1.4 ad.hppa --- distrib/sets/lists/comp/ad.hppa 9 Feb 2007 22:22:32 -0000 1.4 +++ distrib/sets/lists/comp/ad.hppa 11 Jul 2011 20:49:15 -0000 @@ -42,10 +42,10 @@ ./usr/include/hppa/signal.h comp-c-include ./usr/include/hppa/som.h comp-c-include ./usr/include/hppa/spinlock.h comp-obsolete obsolete -./usr/include/hppa/stdarg.h comp-c-include +./usr/include/hppa/stdarg.h comp-obsolete obsolete ./usr/include/hppa/trap.h comp-c-include ./usr/include/hppa/types.h comp-c-include -./usr/include/hppa/varargs.h comp-c-include +./usr/include/hppa/varargs.h comp-obsolete obsolete ./usr/include/hppa/vmparam.h comp-c-include ./usr/include/hppa/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/ad.m68k =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/ad.m68k,v retrieving revision 1.44 diff -u -p -r1.44 ad.m68k --- distrib/sets/lists/comp/ad.m68k 8 Jul 2011 09:31:35 -0000 1.44 +++ distrib/sets/lists/comp/ad.m68k 11 Jul 2011 20:49:19 -0000 @@ -51,13 +51,13 @@ ./usr/include/m68k/rwlock.h comp-c-include ./usr/include/m68k/setjmp.h comp-c-include ./usr/include/m68k/signal.h comp-c-include -./usr/include/m68k/stdarg.h comp-c-include +./usr/include/m68k/stdarg.h comp-obsolete obsolete ./usr/include/m68k/svr4_machdep.h comp-obsolete obsolete ./usr/include/m68k/sync_icache.h comp-c-include ./usr/include/m68k/sysctl.h comp-c-include ./usr/include/m68k/trap.h comp-c-include ./usr/include/m68k/types.h comp-c-include -./usr/include/m68k/varargs.h comp-c-include +./usr/include/m68k/varargs.h comp-obsolete obsolete ./usr/include/m68k/wchar_limits.h comp-c-include ./usr/lib/libm68k.a comp-c-lib ./usr/lib/libm68k_p.a comp-c-lib profile Index: distrib/sets/lists/comp/ad.mips =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/ad.mips,v retrieving revision 1.37 diff -u -p -r1.37 ad.mips --- distrib/sets/lists/comp/ad.mips 7 Jul 2011 08:46:21 -0000 1.37 +++ distrib/sets/lists/comp/ad.mips 11 Jul 2011 20:49:23 -0000 @@ -54,11 +54,11 @@ ./usr/include/mips/rwlock.h comp-c-include ./usr/include/mips/setjmp.h comp-c-include ./usr/include/mips/signal.h comp-c-include -./usr/include/mips/stdarg.h comp-c-include +./usr/include/mips/stdarg.h comp-obsolete obsolete ./usr/include/mips/sysarch.h comp-c-include ./usr/include/mips/trap.h comp-c-include ./usr/include/mips/types.h comp-c-include -./usr/include/mips/varargs.h comp-c-include +./usr/include/mips/varargs.h comp-obsolete obsolete ./usr/include/mips/vmparam.h comp-c-include ./usr/include/mips/wchar_limits.h comp-c-include ./usr/libdata/debug/usr/bin/elf2aout.debug comp-obsolete obsolete Index: distrib/sets/lists/comp/ad.mips64eb =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/ad.mips64eb,v retrieving revision 1.43 diff -u -p -r1.43 ad.mips64eb --- distrib/sets/lists/comp/ad.mips64eb 10 Jul 2011 16:54:04 -0000 1.43 +++ distrib/sets/lists/comp/ad.mips64eb 11 Jul 2011 20:49:26 -0000 @@ -54,11 +54,11 @@ ./usr/include/mips/rwlock.h comp-c-include ./usr/include/mips/setjmp.h comp-c-include ./usr/include/mips/signal.h comp-c-include -./usr/include/mips/stdarg.h comp-c-include +./usr/include/mips/stdarg.h comp-obsolete obsolete ./usr/include/mips/sysarch.h comp-c-include ./usr/include/mips/trap.h comp-c-include ./usr/include/mips/types.h comp-c-include -./usr/include/mips/varargs.h comp-c-include +./usr/include/mips/varargs.h comp-obsolete obsolete ./usr/include/mips/vmparam.h comp-c-include ./usr/include/mips/wchar_limits.h comp-c-include ./usr/lib/64/crt0.o comp-c-lib compat Index: distrib/sets/lists/comp/ad.mips64el =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/ad.mips64el,v retrieving revision 1.43 diff -u -p -r1.43 ad.mips64el --- distrib/sets/lists/comp/ad.mips64el 10 Jul 2011 16:54:04 -0000 1.43 +++ distrib/sets/lists/comp/ad.mips64el 11 Jul 2011 20:49:29 -0000 @@ -54,11 +54,11 @@ ./usr/include/mips/rwlock.h comp-c-include ./usr/include/mips/setjmp.h comp-c-include ./usr/include/mips/signal.h comp-c-include -./usr/include/mips/stdarg.h comp-c-include +./usr/include/mips/stdarg.h comp-obsolete obsolete ./usr/include/mips/sysarch.h comp-c-include ./usr/include/mips/trap.h comp-c-include ./usr/include/mips/types.h comp-c-include -./usr/include/mips/varargs.h comp-c-include +./usr/include/mips/varargs.h comp-obsolete obsolete ./usr/include/mips/vmparam.h comp-c-include ./usr/include/mips/wchar_limits.h comp-c-include ./usr/lib/64/crt0.o comp-c-lib compat Index: distrib/sets/lists/comp/ad.powerpc =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/ad.powerpc,v retrieving revision 1.55 diff -u -p -r1.55 ad.powerpc --- distrib/sets/lists/comp/ad.powerpc 7 Jul 2011 15:07:53 -0000 1.55 +++ distrib/sets/lists/comp/ad.powerpc 11 Jul 2011 20:49:32 -0000 @@ -83,11 +83,11 @@ ./usr/include/powerpc/setjmp.h comp-c-include ./usr/include/powerpc/signal.h comp-c-include ./usr/include/powerpc/spr.h comp-c-include -./usr/include/powerpc/stdarg.h comp-c-include +./usr/include/powerpc/stdarg.h comp-obsolete obsolete ./usr/include/powerpc/trap.h comp-c-include ./usr/include/powerpc/types.h comp-c-include ./usr/include/powerpc/va-ppc.h comp-obsolete obsolete -./usr/include/powerpc/varargs.h comp-c-include +./usr/include/powerpc/varargs.h comp-obsolete obsolete ./usr/include/powerpc/vmparam.h comp-c-include ./usr/include/powerpc/wchar_limits.h comp-c-include ./usr/libdata/debug/usr/bin/elf2aout.debug comp-sysutil-debug debug Index: distrib/sets/lists/comp/ad.sh3 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/ad.sh3,v retrieving revision 1.25 diff -u -p -r1.25 ad.sh3 --- distrib/sets/lists/comp/ad.sh3 7 Jul 2011 08:46:21 -0000 1.25 +++ distrib/sets/lists/comp/ad.sh3 11 Jul 2011 20:49:36 -0000 @@ -46,9 +46,9 @@ ./usr/include/sh3/setjmp.h comp-c-include ./usr/include/sh3/sh_opcode.h comp-c-include ./usr/include/sh3/signal.h comp-c-include -./usr/include/sh3/stdarg.h comp-c-include +./usr/include/sh3/stdarg.h comp-obsolete obsolete ./usr/include/sh3/types.h comp-c-include ./usr/include/sh3/va-sh.h comp-obsolete obsolete -./usr/include/sh3/varargs.h comp-c-include +./usr/include/sh3/varargs.h comp-obsolete obsolete ./usr/include/sh3/vmparam.h comp-c-include ./usr/include/sh3/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.acorn26 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.acorn26,v retrieving revision 1.12 diff -u -p -r1.12 md.acorn26 --- distrib/sets/lists/comp/md.acorn26 19 Jan 2008 13:15:46 -0000 1.12 +++ distrib/sets/lists/comp/md.acorn26 11 Jul 2011 20:49:40 -0000 @@ -42,11 +42,11 @@ ./usr/include/acorn26/rwlock.h comp-c-include ./usr/include/acorn26/setjmp.h comp-c-include ./usr/include/acorn26/signal.h comp-c-include -./usr/include/acorn26/stdarg.h comp-c-include +./usr/include/acorn26/stdarg.h comp-obsolete obsolete ./usr/include/acorn26/sysarch.h comp-c-include ./usr/include/acorn26/trap.h comp-c-include ./usr/include/acorn26/types.h comp-c-include -./usr/include/acorn26/varargs.h comp-c-include +./usr/include/acorn26/varargs.h comp-obsolete obsolete ./usr/include/acorn26/vmparam.h comp-c-include ./usr/include/acorn26/wchar_limits.h comp-c-include ./usr/include/arm/arm32/bus.h comp-obsolete obsolete Index: distrib/sets/lists/comp/md.acorn32 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.acorn32,v retrieving revision 1.24 diff -u -p -r1.24 md.acorn32 --- distrib/sets/lists/comp/md.acorn32 22 Aug 2008 13:42:19 -0000 1.24 +++ distrib/sets/lists/comp/md.acorn32 11 Jul 2011 20:49:47 -0000 @@ -46,11 +46,11 @@ ./usr/include/acorn32/rwlock.h comp-c-include ./usr/include/acorn32/setjmp.h comp-c-include ./usr/include/acorn32/signal.h comp-c-include -./usr/include/acorn32/stdarg.h comp-c-include +./usr/include/acorn32/stdarg.h comp-obsolete obsolete ./usr/include/acorn32/sysarch.h comp-c-include ./usr/include/acorn32/trap.h comp-c-include ./usr/include/acorn32/types.h comp-c-include -./usr/include/acorn32/varargs.h comp-c-include +./usr/include/acorn32/varargs.h comp-obsolete obsolete ./usr/include/acorn32/vconsole.h comp-obsolete obsolete ./usr/include/acorn32/vmparam.h comp-c-include ./usr/include/acorn32/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.algor =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.algor,v retrieving revision 1.14 diff -u -p -r1.14 md.algor --- distrib/sets/lists/comp/md.algor 19 Aug 2009 08:24:43 -0000 1.14 +++ distrib/sets/lists/comp/md.algor 11 Jul 2011 20:49:50 -0000 @@ -53,10 +53,10 @@ ./usr/include/algor/rwlock.h comp-c-include ./usr/include/algor/setjmp.h comp-c-include ./usr/include/algor/signal.h comp-c-include -./usr/include/algor/stdarg.h comp-c-include +./usr/include/algor/stdarg.h comp-obsolete obsolete ./usr/include/algor/trap.h comp-c-include ./usr/include/algor/types.h comp-c-include -./usr/include/algor/varargs.h comp-c-include +./usr/include/algor/varargs.h comp-obsolete obsolete ./usr/include/algor/vmparam.h comp-c-include ./usr/include/algor/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.alpha =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.alpha,v retrieving revision 1.58 diff -u -p -r1.58 md.alpha --- distrib/sets/lists/comp/md.alpha 9 Jul 2011 17:19:21 -0000 1.58 +++ distrib/sets/lists/comp/md.alpha 11 Jul 2011 20:49:53 -0000 @@ -59,10 +59,10 @@ ./usr/include/alpha/rwlock.h comp-c-include ./usr/include/alpha/setjmp.h comp-c-include ./usr/include/alpha/signal.h comp-c-include -./usr/include/alpha/stdarg.h comp-c-include +./usr/include/alpha/stdarg.h comp-obsolete obsolete ./usr/include/alpha/sysarch.h comp-c-include ./usr/include/alpha/types.h comp-c-include -./usr/include/alpha/varargs.h comp-c-include +./usr/include/alpha/varargs.h comp-obsolete obsolete ./usr/include/alpha/vmparam.h comp-c-include ./usr/include/alpha/vuid_event.h comp-c-include ./usr/include/alpha/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.amd64 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.amd64,v retrieving revision 1.123 diff -u -p -r1.123 md.amd64 --- distrib/sets/lists/comp/md.amd64 11 Jul 2011 13:42:49 -0000 1.123 +++ distrib/sets/lists/comp/md.amd64 11 Jul 2011 20:50:01 -0000 @@ -58,13 +58,13 @@ ./usr/include/amd64/setjmp.h comp-c-include ./usr/include/amd64/signal.h comp-c-include ./usr/include/amd64/specialreg.h comp-c-include -./usr/include/amd64/stdarg.h comp-c-include +./usr/include/amd64/stdarg.h comp-obsolete obsolete ./usr/include/amd64/sysarch.h comp-c-include ./usr/include/amd64/trap.h comp-c-include ./usr/include/amd64/tss.h comp-c-include ./usr/include/amd64/types.h comp-c-include ./usr/include/amd64/userret.h comp-c-include -./usr/include/amd64/varargs.h comp-c-include +./usr/include/amd64/varargs.h comp-obsolete obsolete ./usr/include/amd64/vmparam.h comp-c-include ./usr/include/amd64/wchar_limits.h comp-c-include ./usr/include/clang-3.0/avxintrin.h comp-c-include llvm @@ -167,13 +167,13 @@ ./usr/include/i386/signal.h comp-c-include ./usr/include/i386/specialreg.h comp-c-include ./usr/include/i386/spkr.h comp-c-include -./usr/include/i386/stdarg.h comp-c-include +./usr/include/i386/stdarg.h comp-obsolete obsolete ./usr/include/i386/svr4_machdep.h comp-c-include ./usr/include/i386/sysarch.h comp-c-include ./usr/include/i386/trap.h comp-c-include ./usr/include/i386/tss.h comp-c-include ./usr/include/i386/types.h comp-c-include -./usr/include/i386/varargs.h comp-c-include +./usr/include/i386/varargs.h comp-obsolete obsolete ./usr/include/i386/vm86.h comp-c-include ./usr/include/i386/vmparam.h comp-c-include ./usr/include/i386/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.amiga =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.amiga,v retrieving revision 1.57 diff -u -p -r1.57 md.amiga --- distrib/sets/lists/comp/md.amiga 24 May 2009 20:53:22 -0000 1.57 +++ distrib/sets/lists/comp/md.amiga 11 Jul 2011 20:50:09 -0000 @@ -46,11 +46,11 @@ ./usr/include/amiga/rwlock.h comp-c-include ./usr/include/amiga/setjmp.h comp-c-include ./usr/include/amiga/signal.h comp-c-include -./usr/include/amiga/stdarg.h comp-c-include +./usr/include/amiga/stdarg.h comp-obsolete obsolete ./usr/include/amiga/svr4_machdep.h comp-obsolete obsolete ./usr/include/amiga/trap.h comp-c-include ./usr/include/amiga/types.h comp-c-include -./usr/include/amiga/varargs.h comp-c-include +./usr/include/amiga/varargs.h comp-obsolete obsolete ./usr/include/amiga/vmparam.h comp-c-include ./usr/include/amiga/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.amigappc =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.amigappc,v retrieving revision 1.7 diff -u -p -r1.7 md.amigappc --- distrib/sets/lists/comp/md.amigappc 5 Jun 2011 16:52:22 -0000 1.7 +++ distrib/sets/lists/comp/md.amigappc 11 Jul 2011 20:50:13 -0000 @@ -54,10 +54,10 @@ ./usr/include/amigappc/setjmp.h comp-c-include ./usr/include/amigappc/signal.h comp-c-include ./usr/include/amigappc/spr.h comp-obsolete obsolete -./usr/include/amigappc/stdarg.h comp-c-include +./usr/include/amigappc/stdarg.h comp-obsolete obsolete ./usr/include/amigappc/trap.h comp-c-include ./usr/include/amigappc/types.h comp-c-include -./usr/include/amigappc/varargs.h comp-c-include +./usr/include/amigappc/varargs.h comp-obsolete obsolete ./usr/include/amigappc/vmparam.h comp-c-include ./usr/include/amigappc/wchar_limits.h comp-c-include ./usr/include/amigappc/z8530var.h comp-obsolete obsolete Index: distrib/sets/lists/comp/md.arc =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.arc,v retrieving revision 1.23 diff -u -p -r1.23 md.arc --- distrib/sets/lists/comp/md.arc 19 Aug 2009 08:24:44 -0000 1.23 +++ distrib/sets/lists/comp/md.arc 11 Jul 2011 20:50:16 -0000 @@ -49,10 +49,10 @@ ./usr/include/arc/rwlock.h comp-c-include ./usr/include/arc/setjmp.h comp-c-include ./usr/include/arc/signal.h comp-c-include -./usr/include/arc/stdarg.h comp-c-include +./usr/include/arc/stdarg.h comp-obsolete obsolete ./usr/include/arc/trap.h comp-c-include ./usr/include/arc/types.h comp-c-include -./usr/include/arc/varargs.h comp-c-include +./usr/include/arc/varargs.h comp-obsolete obsolete ./usr/include/arc/vmparam.h comp-c-include ./usr/include/arc/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.atari =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.atari,v retrieving revision 1.57 diff -u -p -r1.57 md.atari --- distrib/sets/lists/comp/md.atari 15 Mar 2010 06:45:44 -0000 1.57 +++ distrib/sets/lists/comp/md.atari 11 Jul 2011 20:50:19 -0000 @@ -49,11 +49,11 @@ ./usr/include/atari/rwlock.h comp-c-include ./usr/include/atari/setjmp.h comp-c-include ./usr/include/atari/signal.h comp-c-include -./usr/include/atari/stdarg.h comp-c-include +./usr/include/atari/stdarg.h comp-obsolete obsolete ./usr/include/atari/svr4_machdep.h comp-obsolete obsolete ./usr/include/atari/trap.h comp-c-include ./usr/include/atari/types.h comp-c-include -./usr/include/atari/varargs.h comp-c-include +./usr/include/atari/varargs.h comp-obsolete obsolete ./usr/include/atari/vmparam.h comp-c-include ./usr/include/atari/vuid_event.h comp-c-include ./usr/include/atari/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.bebox =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.bebox,v retrieving revision 1.33 diff -u -p -r1.33 md.bebox --- distrib/sets/lists/comp/md.bebox 5 Jun 2011 16:52:22 -0000 1.33 +++ distrib/sets/lists/comp/md.bebox 11 Jul 2011 20:50:23 -0000 @@ -58,11 +58,11 @@ ./usr/include/bebox/signal.h comp-c-include ./usr/include/bebox/spkr.h comp-c-include ./usr/include/bebox/spr.h comp-obsolete obsolete -./usr/include/bebox/stdarg.h comp-c-include +./usr/include/bebox/stdarg.h comp-obsolete obsolete ./usr/include/bebox/trap.h comp-c-include ./usr/include/bebox/types.h comp-c-include ./usr/include/bebox/va-ppc.h comp-obsolete obsolete -./usr/include/bebox/varargs.h comp-c-include +./usr/include/bebox/varargs.h comp-obsolete obsolete ./usr/include/bebox/vmparam.h comp-c-include ./usr/include/bebox/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.cats =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.cats,v retrieving revision 1.15 diff -u -p -r1.15 md.cats --- distrib/sets/lists/comp/md.cats 14 Mar 2010 09:52:00 -0000 1.15 +++ distrib/sets/lists/comp/md.cats 11 Jul 2011 20:50:26 -0000 @@ -42,10 +42,10 @@ ./usr/include/cats/rwlock.h comp-c-include ./usr/include/cats/setjmp.h comp-c-include ./usr/include/cats/signal.h comp-c-include -./usr/include/cats/stdarg.h comp-c-include +./usr/include/cats/stdarg.h comp-obsolete obsolete ./usr/include/cats/sysarch.h comp-c-include ./usr/include/cats/trap.h comp-c-include ./usr/include/cats/types.h comp-c-include -./usr/include/cats/varargs.h comp-c-include +./usr/include/cats/varargs.h comp-obsolete obsolete ./usr/include/cats/vmparam.h comp-c-include ./usr/include/cats/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.cesfic =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.cesfic,v retrieving revision 1.6 diff -u -p -r1.6 md.cesfic --- distrib/sets/lists/comp/md.cesfic 9 Feb 2007 22:22:32 -0000 1.6 +++ distrib/sets/lists/comp/md.cesfic 11 Jul 2011 20:50:29 -0000 @@ -39,10 +39,10 @@ ./usr/include/cesfic/rwlock.h comp-c-include ./usr/include/cesfic/setjmp.h comp-c-include ./usr/include/cesfic/signal.h comp-c-include -./usr/include/cesfic/stdarg.h comp-c-include +./usr/include/cesfic/stdarg.h comp-obsolete obsolete ./usr/include/cesfic/trap.h comp-c-include ./usr/include/cesfic/types.h comp-c-include -./usr/include/cesfic/varargs.h comp-c-include +./usr/include/cesfic/varargs.h comp-obsolete obsolete ./usr/include/cesfic/vmparam.h comp-c-include ./usr/include/cesfic/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.cobalt =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.cobalt,v retrieving revision 1.23 diff -u -p -r1.23 md.cobalt --- distrib/sets/lists/comp/md.cobalt 19 Aug 2009 08:24:44 -0000 1.23 +++ distrib/sets/lists/comp/md.cobalt 11 Jul 2011 20:50:32 -0000 @@ -52,10 +52,10 @@ ./usr/include/cobalt/rwlock.h comp-c-include ./usr/include/cobalt/setjmp.h comp-c-include ./usr/include/cobalt/signal.h comp-c-include -./usr/include/cobalt/stdarg.h comp-c-include +./usr/include/cobalt/stdarg.h comp-obsolete obsolete ./usr/include/cobalt/trap.h comp-c-include ./usr/include/cobalt/types.h comp-c-include -./usr/include/cobalt/varargs.h comp-c-include +./usr/include/cobalt/varargs.h comp-obsolete obsolete ./usr/include/cobalt/vmparam.h comp-c-include ./usr/include/cobalt/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.dreamcast =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.dreamcast,v retrieving revision 1.13 diff -u -p -r1.13 md.dreamcast --- distrib/sets/lists/comp/md.dreamcast 9 Feb 2007 22:22:32 -0000 1.13 +++ distrib/sets/lists/comp/md.dreamcast 11 Jul 2011 20:50:35 -0000 @@ -44,10 +44,10 @@ ./usr/include/dreamcast/rwlock.h comp-c-include ./usr/include/dreamcast/setjmp.h comp-c-include ./usr/include/dreamcast/signal.h comp-c-include -./usr/include/dreamcast/stdarg.h comp-c-include +./usr/include/dreamcast/stdarg.h comp-obsolete obsolete ./usr/include/dreamcast/trap.h comp-obsolete obsolete ./usr/include/dreamcast/types.h comp-c-include -./usr/include/dreamcast/varargs.h comp-c-include +./usr/include/dreamcast/varargs.h comp-obsolete obsolete ./usr/include/dreamcast/vmparam.h comp-c-include ./usr/include/dreamcast/wchar_limits.h comp-c-include ./usr/include/sh3/db_disasm.h comp-obsolete obsolete Index: distrib/sets/lists/comp/md.emips =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.emips,v retrieving revision 1.1 diff -u -p -r1.1 md.emips --- distrib/sets/lists/comp/md.emips 26 Jan 2011 01:18:45 -0000 1.1 +++ distrib/sets/lists/comp/md.emips 11 Jul 2011 20:50:39 -0000 @@ -49,9 +49,9 @@ ./usr/include/emips/rwlock.h comp-c-include ./usr/include/emips/setjmp.h comp-c-include ./usr/include/emips/signal.h comp-c-include -./usr/include/emips/stdarg.h comp-c-include +./usr/include/emips/stdarg.h comp-obsolete obsolete ./usr/include/emips/trap.h comp-c-include ./usr/include/emips/types.h comp-c-include -./usr/include/emips/varargs.h comp-c-include +./usr/include/emips/varargs.h comp-obsolete obsolete ./usr/include/emips/vmparam.h comp-c-include ./usr/include/emips/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.evbarm =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.evbarm,v retrieving revision 1.13 diff -u -p -r1.13 md.evbarm --- distrib/sets/lists/comp/md.evbarm 19 Jan 2008 13:15:46 -0000 1.13 +++ distrib/sets/lists/comp/md.evbarm 11 Jul 2011 20:50:42 -0000 @@ -41,10 +41,10 @@ ./usr/include/evbarm/rwlock.h comp-c-include ./usr/include/evbarm/setjmp.h comp-c-include ./usr/include/evbarm/signal.h comp-c-include -./usr/include/evbarm/stdarg.h comp-c-include +./usr/include/evbarm/stdarg.h comp-obsolete obsolete ./usr/include/evbarm/sysarch.h comp-c-include ./usr/include/evbarm/trap.h comp-c-include ./usr/include/evbarm/types.h comp-c-include -./usr/include/evbarm/varargs.h comp-c-include +./usr/include/evbarm/varargs.h comp-obsolete obsolete ./usr/include/evbarm/vmparam.h comp-c-include ./usr/include/evbarm/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.evbmips =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.evbmips,v retrieving revision 1.14 diff -u -p -r1.14 md.evbmips --- distrib/sets/lists/comp/md.evbmips 19 Aug 2009 08:24:44 -0000 1.14 +++ distrib/sets/lists/comp/md.evbmips 11 Jul 2011 20:50:45 -0000 @@ -52,10 +52,10 @@ ./usr/include/evbmips/rwlock.h comp-c-include ./usr/include/evbmips/setjmp.h comp-c-include ./usr/include/evbmips/signal.h comp-c-include -./usr/include/evbmips/stdarg.h comp-c-include +./usr/include/evbmips/stdarg.h comp-obsolete obsolete ./usr/include/evbmips/trap.h comp-c-include ./usr/include/evbmips/types.h comp-c-include -./usr/include/evbmips/varargs.h comp-c-include +./usr/include/evbmips/varargs.h comp-obsolete obsolete ./usr/include/evbmips/vmparam.h comp-c-include ./usr/include/evbmips/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.evbppc =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.evbppc,v retrieving revision 1.11 diff -u -p -r1.11 md.evbppc --- distrib/sets/lists/comp/md.evbppc 5 Jun 2011 16:52:22 -0000 1.11 +++ distrib/sets/lists/comp/md.evbppc 11 Jul 2011 20:52:55 -0000 @@ -49,10 +49,10 @@ ./usr/include/evbppc/setjmp.h comp-c-include ./usr/include/evbppc/signal.h comp-c-include ./usr/include/evbppc/spr.h comp-obsolete obsolete -./usr/include/evbppc/stdarg.h comp-c-include +./usr/include/evbppc/stdarg.h comp-obsolete obsolete ./usr/include/evbppc/trap.h comp-c-include ./usr/include/evbppc/types.h comp-c-include -./usr/include/evbppc/varargs.h comp-c-include +./usr/include/evbppc/varargs.h comp-obsolete obsolete ./usr/include/evbppc/vmparam.h comp-c-include ./usr/include/evbppc/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.evbsh3 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.evbsh3,v retrieving revision 1.26 diff -u -p -r1.26 md.evbsh3 --- distrib/sets/lists/comp/md.evbsh3 9 Feb 2007 22:49:47 -0000 1.26 +++ distrib/sets/lists/comp/md.evbsh3 11 Jul 2011 20:52:58 -0000 @@ -50,10 +50,10 @@ ./usr/include/evbsh3/setjmp.h comp-c-include ./usr/include/evbsh3/shbvar.h comp-obsolete obsolete ./usr/include/evbsh3/signal.h comp-c-include -./usr/include/evbsh3/stdarg.h comp-c-include +./usr/include/evbsh3/stdarg.h comp-obsolete obsolete ./usr/include/evbsh3/trap.h comp-obsolete obsolete ./usr/include/evbsh3/types.h comp-c-include -./usr/include/evbsh3/varargs.h comp-c-include +./usr/include/evbsh3/varargs.h comp-obsolete obsolete ./usr/include/evbsh3/vmparam.h comp-c-include ./usr/include/evbsh3/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.ews4800mips =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.ews4800mips,v retrieving revision 1.4 diff -u -p -r1.4 md.ews4800mips --- distrib/sets/lists/comp/md.ews4800mips 8 Mar 2007 15:39:42 -0000 1.4 +++ distrib/sets/lists/comp/md.ews4800mips 11 Jul 2011 20:53:01 -0000 @@ -48,10 +48,10 @@ ./usr/include/ews4800mips/rwlock.h comp-c-include ./usr/include/ews4800mips/setjmp.h comp-c-include ./usr/include/ews4800mips/signal.h comp-c-include -./usr/include/ews4800mips/stdarg.h comp-c-include +./usr/include/ews4800mips/stdarg.h comp-obsolete obsolete ./usr/include/ews4800mips/trap.h comp-c-include ./usr/include/ews4800mips/types.h comp-c-include -./usr/include/ews4800mips/varargs.h comp-c-include +./usr/include/ews4800mips/varargs.h comp-obsolete obsolete ./usr/include/ews4800mips/vmparam.h comp-c-include ./usr/include/ews4800mips/vtoc.h comp-c-include ./usr/include/ews4800mips/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.hp300 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.hp300,v retrieving revision 1.60 diff -u -p -r1.60 md.hp300 --- distrib/sets/lists/comp/md.hp300 7 Feb 2011 18:11:28 -0000 1.60 +++ distrib/sets/lists/comp/md.hp300 11 Jul 2011 20:53:04 -0000 @@ -45,11 +45,11 @@ ./usr/include/hp300/rwlock.h comp-c-include ./usr/include/hp300/setjmp.h comp-c-include ./usr/include/hp300/signal.h comp-c-include -./usr/include/hp300/stdarg.h comp-c-include +./usr/include/hp300/stdarg.h comp-obsolete obsolete ./usr/include/hp300/svr4_machdep.h comp-obsolete obsolete ./usr/include/hp300/trap.h comp-c-include ./usr/include/hp300/types.h comp-c-include -./usr/include/hp300/varargs.h comp-c-include +./usr/include/hp300/varargs.h comp-obsolete obsolete ./usr/include/hp300/vmparam.h comp-c-include ./usr/include/hp300/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.hp700 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.hp700,v retrieving revision 1.6 diff -u -p -r1.6 md.hp700 --- distrib/sets/lists/comp/md.hp700 6 Jan 2010 16:19:07 -0000 1.6 +++ distrib/sets/lists/comp/md.hp700 11 Jul 2011 20:53:07 -0000 @@ -54,10 +54,10 @@ ./usr/include/hp700/signal.h comp-c-include ./usr/include/hp700/som.h comp-c-include ./usr/include/hp700/spinlock.h comp-obsolete obsolete -./usr/include/hp700/stdarg.h comp-c-include +./usr/include/hp700/stdarg.h comp-obsolete obsolete ./usr/include/hp700/trap.h comp-c-include ./usr/include/hp700/types.h comp-c-include -./usr/include/hp700/varargs.h comp-c-include +./usr/include/hp700/varargs.h comp-obsolete obsolete ./usr/include/hp700/vmparam.h comp-c-include ./usr/include/hp700/wchar_limits.h comp-c-include ./usr/libdata/debug/usr/mdec/mkboot.debug comp-sysutil-debug debug Index: distrib/sets/lists/comp/md.hpcarm =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.hpcarm,v retrieving revision 1.13 diff -u -p -r1.13 md.hpcarm --- distrib/sets/lists/comp/md.hpcarm 22 Aug 2008 13:42:19 -0000 1.13 +++ distrib/sets/lists/comp/md.hpcarm 11 Jul 2011 20:53:10 -0000 @@ -41,11 +41,11 @@ ./usr/include/hpcarm/rwlock.h comp-c-include ./usr/include/hpcarm/setjmp.h comp-c-include ./usr/include/hpcarm/signal.h comp-c-include -./usr/include/hpcarm/stdarg.h comp-c-include +./usr/include/hpcarm/stdarg.h comp-obsolete obsolete ./usr/include/hpcarm/sysarch.h comp-c-include ./usr/include/hpcarm/trap.h comp-c-include ./usr/include/hpcarm/types.h comp-c-include -./usr/include/hpcarm/varargs.h comp-c-include +./usr/include/hpcarm/varargs.h comp-obsolete obsolete ./usr/include/hpcarm/vmparam.h comp-c-include ./usr/include/hpcarm/wchar_limits.h comp-c-include ./usr/libdata/debug/usr/sbin/apm.debug comp-sysutil-debug debug Index: distrib/sets/lists/comp/md.hpcmips =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.hpcmips,v retrieving revision 1.28 diff -u -p -r1.28 md.hpcmips --- distrib/sets/lists/comp/md.hpcmips 19 Aug 2009 08:24:44 -0000 1.28 +++ distrib/sets/lists/comp/md.hpcmips 11 Jul 2011 20:53:13 -0000 @@ -54,11 +54,11 @@ ./usr/include/hpcmips/rwlock.h comp-c-include ./usr/include/hpcmips/setjmp.h comp-c-include ./usr/include/hpcmips/signal.h comp-c-include -./usr/include/hpcmips/stdarg.h comp-c-include +./usr/include/hpcmips/stdarg.h comp-obsolete obsolete ./usr/include/hpcmips/sysconf.h comp-c-include ./usr/include/hpcmips/trap.h comp-c-include ./usr/include/hpcmips/types.h comp-c-include -./usr/include/hpcmips/varargs.h comp-c-include +./usr/include/hpcmips/varargs.h comp-obsolete obsolete ./usr/include/hpcmips/vmparam.h comp-c-include ./usr/include/hpcmips/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.hpcsh =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.hpcsh,v retrieving revision 1.22 diff -u -p -r1.22 md.hpcsh --- distrib/sets/lists/comp/md.hpcsh 22 Aug 2008 13:42:19 -0000 1.22 +++ distrib/sets/lists/comp/md.hpcsh 11 Jul 2011 20:53:17 -0000 @@ -50,10 +50,10 @@ ./usr/include/hpcsh/setjmp.h comp-c-include ./usr/include/hpcsh/shbvar.h comp-obsolete obsolete ./usr/include/hpcsh/signal.h comp-c-include -./usr/include/hpcsh/stdarg.h comp-c-include +./usr/include/hpcsh/stdarg.h comp-obsolete obsolete ./usr/include/hpcsh/trap.h comp-obsolete obsolete ./usr/include/hpcsh/types.h comp-c-include -./usr/include/hpcsh/varargs.h comp-c-include +./usr/include/hpcsh/varargs.h comp-obsolete obsolete ./usr/include/hpcsh/vmparam.h comp-c-include ./usr/include/hpcsh/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.i386 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.i386,v retrieving revision 1.120 diff -u -p -r1.120 md.i386 --- distrib/sets/lists/comp/md.i386 7 Jul 2011 08:46:21 -0000 1.120 +++ distrib/sets/lists/comp/md.i386 11 Jul 2011 20:53:21 -0000 @@ -107,13 +107,13 @@ ./usr/include/i386/signal.h comp-c-include ./usr/include/i386/specialreg.h comp-c-include ./usr/include/i386/spkr.h comp-c-include -./usr/include/i386/stdarg.h comp-c-include +./usr/include/i386/stdarg.h comp-obsolete obsolete ./usr/include/i386/svr4_machdep.h comp-c-include ./usr/include/i386/sysarch.h comp-c-include ./usr/include/i386/trap.h comp-c-include ./usr/include/i386/tss.h comp-c-include ./usr/include/i386/types.h comp-c-include -./usr/include/i386/varargs.h comp-c-include +./usr/include/i386/varargs.h comp-obsolete obsolete ./usr/include/i386/vm86.h comp-c-include ./usr/include/i386/vmparam.h comp-c-include ./usr/include/i386/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.ibmnws =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.ibmnws,v retrieving revision 1.9 diff -u -p -r1.9 md.ibmnws --- distrib/sets/lists/comp/md.ibmnws 5 Jun 2011 16:52:22 -0000 1.9 +++ distrib/sets/lists/comp/md.ibmnws 11 Jul 2011 20:53:25 -0000 @@ -52,10 +52,10 @@ ./usr/include/ibmnws/setjmp.h comp-c-include ./usr/include/ibmnws/signal.h comp-c-include ./usr/include/ibmnws/spr.h comp-obsolete obsolete -./usr/include/ibmnws/stdarg.h comp-c-include +./usr/include/ibmnws/stdarg.h comp-obsolete obsolete ./usr/include/ibmnws/trap.h comp-c-include ./usr/include/ibmnws/types.h comp-c-include -./usr/include/ibmnws/varargs.h comp-c-include +./usr/include/ibmnws/varargs.h comp-obsolete obsolete ./usr/include/ibmnws/vmparam.h comp-c-include ./usr/include/ibmnws/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.iyonix =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.iyonix,v retrieving revision 1.5 diff -u -p -r1.5 md.iyonix --- distrib/sets/lists/comp/md.iyonix 19 Jan 2008 13:15:46 -0000 1.5 +++ distrib/sets/lists/comp/md.iyonix 11 Jul 2011 20:53:29 -0000 @@ -41,10 +41,10 @@ ./usr/include/iyonix/rwlock.h comp-c-include ./usr/include/iyonix/setjmp.h comp-c-include ./usr/include/iyonix/signal.h comp-c-include -./usr/include/iyonix/stdarg.h comp-c-include +./usr/include/iyonix/stdarg.h comp-obsolete obsolete ./usr/include/iyonix/sysarch.h comp-c-include ./usr/include/iyonix/trap.h comp-c-include ./usr/include/iyonix/types.h comp-c-include -./usr/include/iyonix/varargs.h comp-c-include +./usr/include/iyonix/varargs.h comp-obsolete obsolete ./usr/include/iyonix/vmparam.h comp-c-include ./usr/include/iyonix/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.landisk =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.landisk,v retrieving revision 1.2 diff -u -p -r1.2 md.landisk --- distrib/sets/lists/comp/md.landisk 9 Feb 2007 22:49:47 -0000 1.2 +++ distrib/sets/lists/comp/md.landisk 11 Jul 2011 20:53:32 -0000 @@ -46,8 +46,8 @@ ./usr/include/landisk/rwlock.h comp-c-include ./usr/include/landisk/setjmp.h comp-c-include ./usr/include/landisk/signal.h comp-c-include -./usr/include/landisk/stdarg.h comp-c-include +./usr/include/landisk/stdarg.h comp-obsolete obsolete ./usr/include/landisk/types.h comp-c-include -./usr/include/landisk/varargs.h comp-c-include +./usr/include/landisk/varargs.h comp-obsolete obsolete ./usr/include/landisk/vmparam.h comp-c-include ./usr/include/landisk/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.luna68k =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.luna68k,v retrieving revision 1.18 diff -u -p -r1.18 md.luna68k --- distrib/sets/lists/comp/md.luna68k 9 Feb 2007 22:49:47 -0000 1.18 +++ distrib/sets/lists/comp/md.luna68k 11 Jul 2011 20:53:35 -0000 @@ -44,10 +44,10 @@ ./usr/include/luna68k/rwlock.h comp-c-include ./usr/include/luna68k/setjmp.h comp-c-include ./usr/include/luna68k/signal.h comp-c-include -./usr/include/luna68k/stdarg.h comp-c-include +./usr/include/luna68k/stdarg.h comp-obsolete obsolete ./usr/include/luna68k/svr4_machdep.h comp-obsolete obsolete ./usr/include/luna68k/trap.h comp-c-include ./usr/include/luna68k/types.h comp-c-include -./usr/include/luna68k/varargs.h comp-c-include +./usr/include/luna68k/varargs.h comp-obsolete obsolete ./usr/include/luna68k/vmparam.h comp-c-include ./usr/include/luna68k/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.mac68k =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.mac68k,v retrieving revision 1.57 diff -u -p -r1.57 md.mac68k --- distrib/sets/lists/comp/md.mac68k 22 Aug 2008 13:42:19 -0000 1.57 +++ distrib/sets/lists/comp/md.mac68k 11 Jul 2011 20:53:38 -0000 @@ -51,11 +51,11 @@ ./usr/include/mac68k/scsi_5380.h comp-c-include ./usr/include/mac68k/setjmp.h comp-c-include ./usr/include/mac68k/signal.h comp-c-include -./usr/include/mac68k/stdarg.h comp-c-include +./usr/include/mac68k/stdarg.h comp-obsolete obsolete ./usr/include/mac68k/svr4_machdep.h comp-obsolete obsolete ./usr/include/mac68k/trap.h comp-c-include ./usr/include/mac68k/types.h comp-c-include -./usr/include/mac68k/varargs.h comp-c-include +./usr/include/mac68k/varargs.h comp-obsolete obsolete ./usr/include/mac68k/viareg.h comp-c-include ./usr/include/mac68k/vmparam.h comp-c-include ./usr/include/mac68k/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.macppc =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.macppc,v retrieving revision 1.34 diff -u -p -r1.34 md.macppc --- distrib/sets/lists/comp/md.macppc 5 Jun 2011 16:52:22 -0000 1.34 +++ distrib/sets/lists/comp/md.macppc 11 Jul 2011 20:53:42 -0000 @@ -57,10 +57,10 @@ ./usr/include/macppc/setjmp.h comp-c-include ./usr/include/macppc/signal.h comp-c-include ./usr/include/macppc/spr.h comp-obsolete obsolete -./usr/include/macppc/stdarg.h comp-c-include +./usr/include/macppc/stdarg.h comp-obsolete obsolete ./usr/include/macppc/trap.h comp-c-include ./usr/include/macppc/types.h comp-c-include -./usr/include/macppc/varargs.h comp-c-include +./usr/include/macppc/varargs.h comp-obsolete obsolete ./usr/include/macppc/vmparam.h comp-c-include ./usr/include/macppc/wchar_limits.h comp-c-include ./usr/include/macppc/z8530var.h comp-obsolete obsolete Index: distrib/sets/lists/comp/md.mipsco =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.mipsco,v retrieving revision 1.19 diff -u -p -r1.19 md.mipsco --- distrib/sets/lists/comp/md.mipsco 15 Mar 2010 03:16:07 -0000 1.19 +++ distrib/sets/lists/comp/md.mipsco 11 Jul 2011 20:53:45 -0000 @@ -54,11 +54,11 @@ ./usr/include/mipsco/rwlock.h comp-c-include ./usr/include/mipsco/setjmp.h comp-c-include ./usr/include/mipsco/signal.h comp-c-include -./usr/include/mipsco/stdarg.h comp-c-include +./usr/include/mipsco/stdarg.h comp-obsolete obsolete ./usr/include/mipsco/sysconf.h comp-c-include ./usr/include/mipsco/trap.h comp-c-include ./usr/include/mipsco/types.h comp-c-include -./usr/include/mipsco/varargs.h comp-c-include +./usr/include/mipsco/varargs.h comp-obsolete obsolete ./usr/include/mipsco/vmparam.h comp-c-include ./usr/include/mipsco/wchar_limits.h comp-c-include ./usr/include/mipsco/z8530var.h comp-c-include Index: distrib/sets/lists/comp/md.mmeye =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.mmeye,v retrieving revision 1.26 diff -u -p -r1.26 md.mmeye --- distrib/sets/lists/comp/md.mmeye 15 Mar 2010 07:27:04 -0000 1.26 +++ distrib/sets/lists/comp/md.mmeye 11 Jul 2011 20:53:47 -0000 @@ -52,10 +52,10 @@ ./usr/include/mmeye/setjmp.h comp-c-include ./usr/include/mmeye/shbvar.h comp-obsolete obsolete ./usr/include/mmeye/signal.h comp-c-include -./usr/include/mmeye/stdarg.h comp-c-include +./usr/include/mmeye/stdarg.h comp-obsolete obsolete ./usr/include/mmeye/trap.h comp-obsolete obsolete ./usr/include/mmeye/types.h comp-c-include -./usr/include/mmeye/varargs.h comp-c-include +./usr/include/mmeye/varargs.h comp-obsolete obsolete ./usr/include/mmeye/vmparam.h comp-c-include ./usr/include/mmeye/wchar_limits.h comp-c-include ./usr/include/sh3/db_disasm.h comp-obsolete obsolete Index: distrib/sets/lists/comp/md.mvme68k =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.mvme68k,v retrieving revision 1.35 diff -u -p -r1.35 md.mvme68k --- distrib/sets/lists/comp/md.mvme68k 16 Mar 2010 01:48:53 -0000 1.35 +++ distrib/sets/lists/comp/md.mvme68k 11 Jul 2011 20:53:51 -0000 @@ -44,11 +44,11 @@ ./usr/include/mvme68k/rwlock.h comp-c-include ./usr/include/mvme68k/setjmp.h comp-c-include ./usr/include/mvme68k/signal.h comp-c-include -./usr/include/mvme68k/stdarg.h comp-c-include +./usr/include/mvme68k/stdarg.h comp-obsolete obsolete ./usr/include/mvme68k/svr4_machdep.h comp-obsolete obsolete ./usr/include/mvme68k/trap.h comp-c-include ./usr/include/mvme68k/types.h comp-c-include -./usr/include/mvme68k/varargs.h comp-c-include +./usr/include/mvme68k/varargs.h comp-obsolete obsolete ./usr/include/mvme68k/vmparam.h comp-c-include ./usr/include/mvme68k/wchar_limits.h comp-c-include ./usr/include/mvme68k/z8530var.h comp-c-include Index: distrib/sets/lists/comp/md.mvmeppc =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.mvmeppc,v retrieving revision 1.13 diff -u -p -r1.13 md.mvmeppc --- distrib/sets/lists/comp/md.mvmeppc 5 Jun 2011 16:52:22 -0000 1.13 +++ distrib/sets/lists/comp/md.mvmeppc 11 Jul 2011 20:53:54 -0000 @@ -53,9 +53,9 @@ ./usr/include/mvmeppc/setjmp.h comp-c-include ./usr/include/mvmeppc/signal.h comp-c-include ./usr/include/mvmeppc/spr.h comp-obsolete obsolete -./usr/include/mvmeppc/stdarg.h comp-c-include +./usr/include/mvmeppc/stdarg.h comp-obsolete obsolete ./usr/include/mvmeppc/trap.h comp-c-include ./usr/include/mvmeppc/types.h comp-c-include -./usr/include/mvmeppc/varargs.h comp-c-include +./usr/include/mvmeppc/varargs.h comp-obsolete obsolete ./usr/include/mvmeppc/vmparam.h comp-c-include ./usr/include/mvmeppc/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.netwinder =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.netwinder,v retrieving revision 1.12 diff -u -p -r1.12 md.netwinder --- distrib/sets/lists/comp/md.netwinder 19 Jan 2008 13:15:46 -0000 1.12 +++ distrib/sets/lists/comp/md.netwinder 11 Jul 2011 20:53:57 -0000 @@ -41,10 +41,10 @@ ./usr/include/netwinder/rwlock.h comp-c-include ./usr/include/netwinder/setjmp.h comp-c-include ./usr/include/netwinder/signal.h comp-c-include -./usr/include/netwinder/stdarg.h comp-c-include +./usr/include/netwinder/stdarg.h comp-obsolete obsolete ./usr/include/netwinder/sysarch.h comp-c-include ./usr/include/netwinder/trap.h comp-c-include ./usr/include/netwinder/types.h comp-c-include -./usr/include/netwinder/varargs.h comp-c-include +./usr/include/netwinder/varargs.h comp-obsolete obsolete ./usr/include/netwinder/vmparam.h comp-c-include ./usr/include/netwinder/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.news68k =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.news68k,v retrieving revision 1.26 diff -u -p -r1.26 md.news68k --- distrib/sets/lists/comp/md.news68k 4 Mar 2007 08:51:19 -0000 1.26 +++ distrib/sets/lists/comp/md.news68k 11 Jul 2011 20:53:59 -0000 @@ -45,10 +45,10 @@ ./usr/include/news68k/rwlock.h comp-c-include ./usr/include/news68k/setjmp.h comp-c-include ./usr/include/news68k/signal.h comp-c-include -./usr/include/news68k/stdarg.h comp-c-include +./usr/include/news68k/stdarg.h comp-obsolete obsolete ./usr/include/news68k/svr4_machdep.h comp-obsolete obsolete ./usr/include/news68k/trap.h comp-c-include ./usr/include/news68k/types.h comp-c-include -./usr/include/news68k/varargs.h comp-c-include +./usr/include/news68k/varargs.h comp-obsolete obsolete ./usr/include/news68k/vmparam.h comp-c-include ./usr/include/news68k/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.newsmips =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.newsmips,v retrieving revision 1.28 diff -u -p -r1.28 md.newsmips --- distrib/sets/lists/comp/md.newsmips 19 Aug 2009 08:24:44 -0000 1.28 +++ distrib/sets/lists/comp/md.newsmips 11 Jul 2011 20:54:02 -0000 @@ -57,10 +57,10 @@ ./usr/include/newsmips/rwlock.h comp-c-include ./usr/include/newsmips/setjmp.h comp-c-include ./usr/include/newsmips/signal.h comp-c-include -./usr/include/newsmips/stdarg.h comp-c-include +./usr/include/newsmips/stdarg.h comp-obsolete obsolete ./usr/include/newsmips/trap.h comp-c-include ./usr/include/newsmips/types.h comp-c-include -./usr/include/newsmips/varargs.h comp-c-include +./usr/include/newsmips/varargs.h comp-obsolete obsolete ./usr/include/newsmips/vmparam.h comp-c-include ./usr/include/newsmips/wchar_limits.h comp-c-include ./usr/include/newsmips/wsconsio.h comp-c-include Index: distrib/sets/lists/comp/md.next68k =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.next68k,v retrieving revision 1.31 diff -u -p -r1.31 md.next68k --- distrib/sets/lists/comp/md.next68k 9 Feb 2007 22:49:47 -0000 1.31 +++ distrib/sets/lists/comp/md.next68k 11 Jul 2011 20:54:05 -0000 @@ -46,11 +46,11 @@ ./usr/include/next68k/rwlock.h comp-c-include ./usr/include/next68k/setjmp.h comp-c-include ./usr/include/next68k/signal.h comp-c-include -./usr/include/next68k/stdarg.h comp-c-include +./usr/include/next68k/stdarg.h comp-obsolete obsolete ./usr/include/next68k/svr4_machdep.h comp-obsolete obsolete ./usr/include/next68k/trap.h comp-c-include ./usr/include/next68k/types.h comp-c-include -./usr/include/next68k/varargs.h comp-c-include +./usr/include/next68k/varargs.h comp-obsolete obsolete ./usr/include/next68k/vmparam.h comp-c-include ./usr/include/next68k/wchar_limits.h comp-c-include ./usr/include/next68k/z8530var.h comp-c-include Index: distrib/sets/lists/comp/md.ofppc =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.ofppc,v retrieving revision 1.12 diff -u -p -r1.12 md.ofppc --- distrib/sets/lists/comp/md.ofppc 5 Jun 2011 16:52:22 -0000 1.12 +++ distrib/sets/lists/comp/md.ofppc 11 Jul 2011 20:54:08 -0000 @@ -48,10 +48,10 @@ ./usr/include/ofppc/setjmp.h comp-c-include ./usr/include/ofppc/signal.h comp-c-include ./usr/include/ofppc/spr.h comp-obsolete obsolete -./usr/include/ofppc/stdarg.h comp-c-include +./usr/include/ofppc/stdarg.h comp-obsolete obsolete ./usr/include/ofppc/trap.h comp-c-include ./usr/include/ofppc/types.h comp-c-include -./usr/include/ofppc/varargs.h comp-c-include +./usr/include/ofppc/varargs.h comp-obsolete obsolete ./usr/include/ofppc/vmparam.h comp-c-include ./usr/include/ofppc/wchar_limits.h comp-c-include ./usr/libdata/debug/usr/sbin/ofctl.debug comp-sysutil-debug debug Index: distrib/sets/lists/comp/md.pmax =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.pmax,v retrieving revision 1.62 diff -u -p -r1.62 md.pmax --- distrib/sets/lists/comp/md.pmax 14 Mar 2010 08:24:18 -0000 1.62 +++ distrib/sets/lists/comp/md.pmax 11 Jul 2011 20:54:11 -0000 @@ -58,10 +58,10 @@ ./usr/include/pmax/rwlock.h comp-c-include ./usr/include/pmax/setjmp.h comp-c-include ./usr/include/pmax/signal.h comp-c-include -./usr/include/pmax/stdarg.h comp-c-include +./usr/include/pmax/stdarg.h comp-obsolete obsolete ./usr/include/pmax/tc_machdep.h comp-c-include ./usr/include/pmax/trap.h comp-c-include ./usr/include/pmax/types.h comp-c-include -./usr/include/pmax/varargs.h comp-c-include +./usr/include/pmax/varargs.h comp-obsolete obsolete ./usr/include/pmax/vmparam.h comp-c-include ./usr/include/pmax/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.prep =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.prep,v retrieving revision 1.26 diff -u -p -r1.26 md.prep --- distrib/sets/lists/comp/md.prep 5 Jun 2011 16:52:22 -0000 1.26 +++ distrib/sets/lists/comp/md.prep 11 Jul 2011 20:54:14 -0000 @@ -56,10 +56,10 @@ ./usr/include/prep/signal.h comp-c-include ./usr/include/prep/spkr.h comp-c-include ./usr/include/prep/spr.h comp-obsolete obsolete -./usr/include/prep/stdarg.h comp-c-include +./usr/include/prep/stdarg.h comp-obsolete obsolete ./usr/include/prep/trap.h comp-c-include ./usr/include/prep/types.h comp-c-include -./usr/include/prep/varargs.h comp-c-include +./usr/include/prep/varargs.h comp-obsolete obsolete ./usr/include/prep/vmparam.h comp-c-include ./usr/include/prep/wchar_limits.h comp-c-include ./usr/libdata/debug/usr/mdec/mkbootimage.debug comp-sysutil-debug debug Index: distrib/sets/lists/comp/md.rs6000 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.rs6000,v retrieving revision 1.4 diff -u -p -r1.4 md.rs6000 --- distrib/sets/lists/comp/md.rs6000 5 Jun 2011 16:52:22 -0000 1.4 +++ distrib/sets/lists/comp/md.rs6000 11 Jul 2011 20:56:25 -0000 @@ -45,10 +45,10 @@ ./usr/include/rs6000/setjmp.h comp-c-include ./usr/include/rs6000/signal.h comp-c-include ./usr/include/rs6000/spr.h comp-obsolete obsolete -./usr/include/rs6000/stdarg.h comp-c-include +./usr/include/rs6000/stdarg.h comp-obsolete obsolete ./usr/include/rs6000/trap.h comp-c-include ./usr/include/rs6000/types.h comp-c-include -./usr/include/rs6000/varargs.h comp-c-include +./usr/include/rs6000/varargs.h comp-obsolete obsolete ./usr/include/rs6000/vmparam.h comp-c-include ./usr/include/rs6000/wchar_limits.h comp-c-include ./usr/libdata/debug/usr/mdec/mkbootimage.debug comp-sysutil-debug debug Index: distrib/sets/lists/comp/md.sandpoint =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.sandpoint,v retrieving revision 1.15 diff -u -p -r1.15 md.sandpoint --- distrib/sets/lists/comp/md.sandpoint 5 Jun 2011 16:52:22 -0000 1.15 +++ distrib/sets/lists/comp/md.sandpoint 11 Jul 2011 20:56:30 -0000 @@ -54,9 +54,9 @@ ./usr/include/sandpoint/setjmp.h comp-c-include ./usr/include/sandpoint/signal.h comp-c-include ./usr/include/sandpoint/spr.h comp-obsolete obsolete -./usr/include/sandpoint/stdarg.h comp-c-include +./usr/include/sandpoint/stdarg.h comp-obsolete obsolete ./usr/include/sandpoint/trap.h comp-c-include ./usr/include/sandpoint/types.h comp-c-include -./usr/include/sandpoint/varargs.h comp-c-include +./usr/include/sandpoint/varargs.h comp-obsolete obsolete ./usr/include/sandpoint/vmparam.h comp-c-include ./usr/include/sandpoint/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.sbmips =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.sbmips,v retrieving revision 1.13 diff -u -p -r1.13 md.sbmips --- distrib/sets/lists/comp/md.sbmips 19 Aug 2009 08:24:44 -0000 1.13 +++ distrib/sets/lists/comp/md.sbmips 11 Jul 2011 20:56:34 -0000 @@ -48,9 +48,9 @@ ./usr/include/sbmips/rwlock.h comp-c-include ./usr/include/sbmips/setjmp.h comp-c-include ./usr/include/sbmips/signal.h comp-c-include -./usr/include/sbmips/stdarg.h comp-c-include +./usr/include/sbmips/stdarg.h comp-obsolete obsolete ./usr/include/sbmips/trap.h comp-c-include ./usr/include/sbmips/types.h comp-c-include -./usr/include/sbmips/varargs.h comp-c-include +./usr/include/sbmips/varargs.h comp-obsolete obsolete ./usr/include/sbmips/vmparam.h comp-c-include ./usr/include/sbmips/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.sgimips =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.sgimips,v retrieving revision 1.16 diff -u -p -r1.16 md.sgimips --- distrib/sets/lists/comp/md.sgimips 14 Mar 2010 06:49:57 -0000 1.16 +++ distrib/sets/lists/comp/md.sgimips 11 Jul 2011 20:56:37 -0000 @@ -53,10 +53,10 @@ ./usr/include/sgimips/rwlock.h comp-c-include ./usr/include/sgimips/setjmp.h comp-c-include ./usr/include/sgimips/signal.h comp-c-include -./usr/include/sgimips/stdarg.h comp-c-include +./usr/include/sgimips/stdarg.h comp-obsolete obsolete ./usr/include/sgimips/trap.h comp-c-include ./usr/include/sgimips/types.h comp-c-include -./usr/include/sgimips/varargs.h comp-c-include +./usr/include/sgimips/varargs.h comp-obsolete obsolete ./usr/include/sgimips/vmparam.h comp-c-include ./usr/include/sgimips/wchar_limits.h comp-c-include ./usr/include/sgimips/z8530var.h comp-c-include Index: distrib/sets/lists/comp/md.shark =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.shark,v retrieving revision 1.15 diff -u -p -r1.15 md.shark --- distrib/sets/lists/comp/md.shark 12 May 2010 13:15:00 -0000 1.15 +++ distrib/sets/lists/comp/md.shark 11 Jul 2011 20:56:41 -0000 @@ -42,11 +42,11 @@ ./usr/include/shark/rwlock.h comp-c-include ./usr/include/shark/setjmp.h comp-c-include ./usr/include/shark/signal.h comp-c-include -./usr/include/shark/stdarg.h comp-c-include +./usr/include/shark/stdarg.h comp-obsolete obsolete ./usr/include/shark/sysarch.h comp-c-include ./usr/include/shark/trap.h comp-c-include ./usr/include/shark/types.h comp-c-include -./usr/include/shark/varargs.h comp-c-include +./usr/include/shark/varargs.h comp-obsolete obsolete ./usr/include/shark/vmparam.h comp-c-include ./usr/include/shark/wchar_limits.h comp-c-include ./usr/include/ieeefp.h comp-c-include Index: distrib/sets/lists/comp/md.sparc =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.sparc,v retrieving revision 1.75 diff -u -p -r1.75 md.sparc --- distrib/sets/lists/comp/md.sparc 9 Jul 2011 17:15:47 -0000 1.75 +++ distrib/sets/lists/comp/md.sparc 11 Jul 2011 20:56:48 -0000 @@ -57,11 +57,11 @@ ./usr/include/sparc/rwlock.h comp-c-include ./usr/include/sparc/setjmp.h comp-c-include ./usr/include/sparc/signal.h comp-c-include -./usr/include/sparc/stdarg.h comp-c-include +./usr/include/sparc/stdarg.h comp-obsolete obsolete ./usr/include/sparc/tctrl.h comp-c-include ./usr/include/sparc/trap.h comp-c-include ./usr/include/sparc/types.h comp-c-include -./usr/include/sparc/varargs.h comp-c-include +./usr/include/sparc/varargs.h comp-obsolete obsolete ./usr/include/sparc/vmparam.h comp-c-include ./usr/include/sparc/vuid_event.h comp-c-include ./usr/include/sparc/wchar_limits.h comp-c-include @@ -127,11 +127,11 @@ ./usr/include/sparc64/rwlock.h comp-c-include ./usr/include/sparc64/setjmp.h comp-c-include ./usr/include/sparc64/signal.h comp-c-include -./usr/include/sparc64/stdarg.h comp-c-include +./usr/include/sparc64/stdarg.h comp-obsolete obsolete ./usr/include/sparc64/svr4_machdep.h comp-c-include ./usr/include/sparc64/trap.h comp-c-include ./usr/include/sparc64/types.h comp-c-include -./usr/include/sparc64/varargs.h comp-c-include +./usr/include/sparc64/varargs.h comp-obsolete obsolete ./usr/include/sparc64/vmparam.h comp-c-include ./usr/include/sparc64/vuid_event.h comp-c-include ./usr/include/sparc64/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.sparc64 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.sparc64,v retrieving revision 1.109 diff -u -p -r1.109 md.sparc64 --- distrib/sets/lists/comp/md.sparc64 11 Jul 2011 13:42:49 -0000 1.109 +++ distrib/sets/lists/comp/md.sparc64 11 Jul 2011 20:56:56 -0000 @@ -57,11 +57,11 @@ ./usr/include/sparc/rwlock.h comp-c-include ./usr/include/sparc/setjmp.h comp-c-include ./usr/include/sparc/signal.h comp-c-include -./usr/include/sparc/stdarg.h comp-c-include +./usr/include/sparc/stdarg.h comp-obsolete obsolete ./usr/include/sparc/tctrl.h comp-c-include ./usr/include/sparc/trap.h comp-c-include ./usr/include/sparc/types.h comp-c-include -./usr/include/sparc/varargs.h comp-c-include +./usr/include/sparc/varargs.h comp-obsolete obsolete ./usr/include/sparc/vmparam.h comp-c-include ./usr/include/sparc/vuid_event.h comp-c-include ./usr/include/sparc/wchar_limits.h comp-c-include @@ -127,11 +127,11 @@ ./usr/include/sparc64/rwlock.h comp-c-include ./usr/include/sparc64/setjmp.h comp-c-include ./usr/include/sparc64/signal.h comp-c-include -./usr/include/sparc64/stdarg.h comp-c-include +./usr/include/sparc64/stdarg.h comp-obsolete obsolete ./usr/include/sparc64/svr4_machdep.h comp-c-include ./usr/include/sparc64/trap.h comp-c-include ./usr/include/sparc64/types.h comp-c-include -./usr/include/sparc64/varargs.h comp-c-include +./usr/include/sparc64/varargs.h comp-obsolete obsolete ./usr/include/sparc64/vmparam.h comp-c-include ./usr/include/sparc64/vuid_event.h comp-c-include ./usr/include/sparc64/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.sun2 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.sun2,v retrieving revision 1.18 diff -u -p -r1.18 md.sun2 --- distrib/sets/lists/comp/md.sun2 10 Mar 2010 23:13:09 -0000 1.18 +++ distrib/sets/lists/comp/md.sun2 11 Jul 2011 20:57:00 -0000 @@ -52,11 +52,11 @@ ./usr/include/sun2/rwlock.h comp-c-include ./usr/include/sun2/setjmp.h comp-c-include ./usr/include/sun2/signal.h comp-c-include -./usr/include/sun2/stdarg.h comp-c-include +./usr/include/sun2/stdarg.h comp-obsolete obsolete ./usr/include/sun2/svr4_machdep.h comp-obsolete obsolete ./usr/include/sun2/trap.h comp-c-include ./usr/include/sun2/types.h comp-c-include -./usr/include/sun2/varargs.h comp-c-include +./usr/include/sun2/varargs.h comp-obsolete obsolete ./usr/include/sun2/vmparam.h comp-c-include ./usr/include/sun2/vuid_event.h comp-c-include ./usr/include/sun2/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.sun3 =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.sun3,v retrieving revision 1.60 diff -u -p -r1.60 md.sun3 --- distrib/sets/lists/comp/md.sun3 10 Mar 2010 23:13:09 -0000 1.60 +++ distrib/sets/lists/comp/md.sun3 11 Jul 2011 20:57:03 -0000 @@ -61,11 +61,11 @@ ./usr/include/sun3/rwlock.h comp-c-include ./usr/include/sun3/setjmp.h comp-c-include ./usr/include/sun3/signal.h comp-c-include -./usr/include/sun3/stdarg.h comp-c-include +./usr/include/sun3/stdarg.h comp-obsolete obsolete ./usr/include/sun3/svr4_machdep.h comp-obsolete obsolete ./usr/include/sun3/trap.h comp-c-include ./usr/include/sun3/types.h comp-c-include -./usr/include/sun3/varargs.h comp-c-include +./usr/include/sun3/varargs.h comp-obsolete obsolete ./usr/include/sun3/vmparam.h comp-c-include ./usr/include/sun3/vmparam3.h comp-c-include ./usr/include/sun3/vmparam3x.h comp-c-include Index: distrib/sets/lists/comp/md.vax =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.vax,v retrieving revision 1.35 diff -u -p -r1.35 md.vax --- distrib/sets/lists/comp/md.vax 31 Oct 2008 20:24:52 -0000 1.35 +++ distrib/sets/lists/comp/md.vax 11 Jul 2011 20:57:06 -0000 @@ -64,11 +64,11 @@ ./usr/include/vax/setjmp.h comp-c-include ./usr/include/vax/sid.h comp-c-include ./usr/include/vax/signal.h comp-c-include -./usr/include/vax/stdarg.h comp-c-include +./usr/include/vax/stdarg.h comp-obsolete obsolete ./usr/include/vax/trap.h comp-c-include ./usr/include/vax/types.h comp-c-include ./usr/include/vax/uvax.h comp-c-include -./usr/include/vax/varargs.h comp-c-include +./usr/include/vax/varargs.h comp-obsolete obsolete ./usr/include/vax/vaxfp.h comp-c-include ./usr/include/vax/vmparam.h comp-c-include ./usr/include/vax/vsbus.h comp-c-include Index: distrib/sets/lists/comp/md.x68k =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.x68k,v retrieving revision 1.57 diff -u -p -r1.57 md.x68k --- distrib/sets/lists/comp/md.x68k 16 Mar 2010 01:48:53 -0000 1.57 +++ distrib/sets/lists/comp/md.x68k 11 Jul 2011 20:57:10 -0000 @@ -58,11 +58,11 @@ ./usr/include/x68k/setjmp.h comp-c-include ./usr/include/x68k/signal.h comp-c-include ./usr/include/x68k/sram.h comp-c-include -./usr/include/x68k/stdarg.h comp-c-include +./usr/include/x68k/stdarg.h comp-obsolete obsolete ./usr/include/x68k/svr4_machdep.h comp-obsolete obsolete ./usr/include/x68k/trap.h comp-c-include ./usr/include/x68k/types.h comp-c-include -./usr/include/x68k/varargs.h comp-c-include +./usr/include/x68k/varargs.h comp-obsolete obsolete ./usr/include/x68k/vmparam.h comp-c-include ./usr/include/x68k/vuid_event.h comp-c-include ./usr/include/x68k/wchar_limits.h comp-c-include Index: distrib/sets/lists/comp/md.zaurus =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/md.zaurus,v retrieving revision 1.5 diff -u -p -r1.5 md.zaurus --- distrib/sets/lists/comp/md.zaurus 22 Aug 2008 13:42:19 -0000 1.5 +++ distrib/sets/lists/comp/md.zaurus 11 Jul 2011 20:57:13 -0000 @@ -40,11 +40,11 @@ ./usr/include/zaurus/rwlock.h comp-c-include ./usr/include/zaurus/setjmp.h comp-c-include ./usr/include/zaurus/signal.h comp-c-include -./usr/include/zaurus/stdarg.h comp-c-include +./usr/include/zaurus/stdarg.h comp-obsolete obsolete ./usr/include/zaurus/sysarch.h comp-c-include ./usr/include/zaurus/trap.h comp-c-include ./usr/include/zaurus/types.h comp-c-include -./usr/include/zaurus/varargs.h comp-c-include +./usr/include/zaurus/varargs.h comp-obsolete obsolete ./usr/include/zaurus/vmparam.h comp-c-include ./usr/include/zaurus/wchar_limits.h comp-c-include ./usr/libdata/debug/usr/sbin/apm.debug comp-sysutil-debug debug Index: distrib/sets/lists/comp/mi =================================================================== RCS file: /home/joerg/repo/netbsd/src/distrib/sets/lists/comp/mi,v retrieving revision 1.1643 diff -u -p -r1.1643 mi --- distrib/sets/lists/comp/mi 9 Jul 2011 14:52:02 -0000 1.1643 +++ distrib/sets/lists/comp/mi 11 Jul 2011 20:57:49 -0000 @@ -2466,6 +2466,7 @@ ./usr/include/sys/specificdata.h comp-c-include ./usr/include/sys/stat.h comp-c-include ./usr/include/sys/statvfs.h comp-c-include +./usr/include/sys/stdarg.h comp-c-include ./usr/include/sys/stdint.h comp-c-include ./usr/include/sys/swap.h comp-c-include ./usr/include/sys/syncobj.h comp-c-include @@ -2590,7 +2591,7 @@ ./usr/include/uvm/uvm_stat.h comp-c-include ./usr/include/uvm/uvm_swap.h comp-c-include ./usr/include/uvm/uvm_vnode.h comp-obsolete obsolete -./usr/include/varargs.h comp-c-include +./usr/include/varargs.h comp-obsolete obsolete ./usr/include/vis.h comp-c-include ./usr/include/vm/device_pager.h comp-obsolete obsolete ./usr/include/vm/lock.h comp-obsolete obsolete @@ -9037,7 +9038,7 @@ ./usr/share/man/cat3/va_end.0 comp-c-catman .cat ./usr/share/man/cat3/va_start.0 comp-c-catman .cat ./usr/share/man/cat3/valloc.0 comp-c-catman .cat -./usr/share/man/cat3/varargs.0 comp-c-catman .cat +./usr/share/man/cat3/varargs.0 comp-obsolete obsolete ./usr/share/man/cat3/vasprintf.0 comp-c-catman .cat ./usr/share/man/cat3/vdprintf.0 comp-c-catman .cat ./usr/share/man/cat3/verr.0 comp-c-catman .cat @@ -15054,7 +15055,7 @@ ./usr/share/man/html3/va_end.html comp-c-htmlman html ./usr/share/man/html3/va_start.html comp-c-htmlman html ./usr/share/man/html3/valloc.html comp-c-htmlman html -./usr/share/man/html3/varargs.html comp-c-htmlman html +./usr/share/man/html3/varargs.html comp-obsolete obsolete ./usr/share/man/html3/vasprintf.html comp-c-htmlman html ./usr/share/man/html3/vdprintf.html comp-c-htmlman html ./usr/share/man/html3/verr.html comp-c-htmlman html @@ -21140,7 +21141,7 @@ ./usr/share/man/man3/va_end.3 comp-c-man .man ./usr/share/man/man3/va_start.3 comp-c-man .man ./usr/share/man/man3/valloc.3 comp-c-man .man -./usr/share/man/man3/varargs.3 comp-c-man .man +./usr/share/man/man3/varargs.3 comp-obsolete obsolete ./usr/share/man/man3/vasprintf.3 comp-c-man .man ./usr/share/man/man3/vdprintf.3 comp-c-man .man ./usr/share/man/man3/verr.3 comp-c-man .man Index: external/cddl/osnet/dev/fbt/fbt.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/external/cddl/osnet/dev/fbt/fbt.c,v retrieving revision 1.7 diff -u -p -r1.7 fbt.c --- external/cddl/osnet/dev/fbt/fbt.c 14 Dec 2010 14:08:42 -0000 1.7 +++ external/cddl/osnet/dev/fbt/fbt.c 11 Jul 2011 21:49:49 -0000 @@ -56,7 +56,6 @@ #include #include #include -#include #include #include Index: external/cddl/osnet/dev/profile/profile.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/external/cddl/osnet/dev/profile/profile.c,v retrieving revision 1.2 diff -u -p -r1.2 profile.c --- external/cddl/osnet/dev/profile/profile.c 21 Feb 2010 01:46:33 -0000 1.2 +++ external/cddl/osnet/dev/profile/profile.c 11 Jul 2011 21:49:51 -0000 @@ -54,7 +54,6 @@ #include #include #include -#include #include #include Index: external/cddl/osnet/dev/systrace/systrace.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/external/cddl/osnet/dev/systrace/systrace.c,v retrieving revision 1.2 diff -u -p -r1.2 systrace.c --- external/cddl/osnet/dev/systrace/systrace.c 21 Feb 2010 01:46:34 -0000 1.2 +++ external/cddl/osnet/dev/systrace/systrace.c 11 Jul 2011 21:49:54 -0000 @@ -56,7 +56,6 @@ #include #include #include -#include #include Index: external/cddl/osnet/dist/uts/common/sys/dtrace.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/external/cddl/osnet/dist/uts/common/sys/dtrace.h,v retrieving revision 1.7 diff -u -p -r1.7 dtrace.h --- external/cddl/osnet/dist/uts/common/sys/dtrace.h 11 Mar 2010 23:28:07 -0000 1.7 +++ external/cddl/osnet/dist/uts/common/sys/dtrace.h 11 Jul 2011 22:00:05 -0000 @@ -2278,7 +2278,7 @@ void dtrace_debug_printf(const char *, . extern void dtrace_sync(void); extern void dtrace_toxic_ranges(void (*)(uintptr_t, uintptr_t)); extern void dtrace_xcall(processorid_t, dtrace_xcall_t, void *); -extern void dtrace_vpanic(const char *, _BSD_VA_LIST_); +extern void dtrace_vpanic(const char *, va_list); extern void dtrace_panic(const char *, ...); extern int dtrace_safe_defer_signal(void); Index: external/cddl/osnet/sys/sys/cmn_err.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/external/cddl/osnet/sys/sys/cmn_err.h,v retrieving revision 1.3 diff -u -p -r1.3 cmn_err.h --- external/cddl/osnet/sys/sys/cmn_err.h 21 Feb 2010 01:46:35 -0000 1.3 +++ external/cddl/osnet/sys/sys/cmn_err.h 11 Jul 2011 21:49:59 -0000 @@ -60,8 +60,6 @@ #ifndef _OPENSOLARIS_SYS_CMN_ERR_H_ #define _OPENSOLARIS_SYS_CMN_ERR_H_ -#include - #ifdef _KERNEL #include #else Index: external/cddl/osnet/sys/sys/types.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/external/cddl/osnet/sys/sys/types.h,v retrieving revision 1.11 diff -u -p -r1.11 types.h --- external/cddl/osnet/sys/sys/types.h 11 Mar 2010 23:28:07 -0000 1.11 +++ external/cddl/osnet/sys/sys/types.h 11 Jul 2011 21:50:10 -0000 @@ -81,7 +81,7 @@ #ifndef _KERNEL #include #else -#include +#include #endif #define MAXNAMELEN 256 Index: external/cddl/osnet/sys/sys/varargs.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/external/cddl/osnet/sys/sys/varargs.h,v retrieving revision 1.3 diff -u -p -r1.3 varargs.h --- external/cddl/osnet/sys/sys/varargs.h 21 Feb 2010 01:46:36 -0000 1.3 +++ external/cddl/osnet/sys/sys/varargs.h 11 Jul 2011 21:50:17 -0000 @@ -32,7 +32,7 @@ #define _OPENSOLARIS_SYS_VARARGS_H_ #ifdef _KERNEL -#include +#include #else #include #endif Index: external/cddl/osnet/sys/sys/zfs_context.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/external/cddl/osnet/sys/sys/zfs_context.h,v retrieving revision 1.9 diff -u -p -r1.9 zfs_context.h --- external/cddl/osnet/sys/sys/zfs_context.h 28 Dec 2010 16:44:45 -0000 1.9 +++ external/cddl/osnet/sys/sys/zfs_context.h 11 Jul 2011 21:50:20 -0000 @@ -620,8 +620,6 @@ extern char *kmem_asprintf(const char *f #include #include -#include - #include #define CPU_SEQID (curcpu()->ci_data.cpu_index) Index: include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/include/Makefile,v retrieving revision 1.134 diff -u -p -r1.134 Makefile --- include/Makefile 24 Mar 2011 17:05:42 -0000 1.134 +++ include/Makefile 11 Jul 2011 20:17:51 -0000 @@ -21,7 +21,7 @@ INCS= a.out.h aio.h ar.h assert.h atomic sgtty.h signal.h stab.h stdbool.h stddef.h stdio.h stdlib.h string.h \ strings.h stringlist.h struct.h sysexits.h tar.h time.h \ ttyent.h tzfile.h ucontext.h ulimit.h unistd.h util.h utime.h utmp.h \ - utmpx.h uuid.h varargs.h vis.h wchar.h wctype.h wordexp.h + utmpx.h uuid.h vis.h wchar.h wctype.h wordexp.h INCS+= arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/nameser_compat.h \ arpa/telnet.h arpa/tftp.h INCS+= protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \ Index: include/err.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/include/err.h,v retrieving revision 1.15 diff -u -p -r1.15 err.h --- include/err.h 25 Feb 2010 18:37:12 -0000 1.15 +++ include/err.h 11 Jul 2011 20:18:09 -0000 @@ -34,32 +34,25 @@ #ifndef _ERR_H_ #define _ERR_H_ -/* - * Don't use va_list in the err/warn prototypes. Va_list is typedef'd in two - * places ( and ), so if we include one - * of them here we may collide with the utility's includes. It's unreasonable - * for utilities to have to include one of them to include err.h, so we get - * _BSD_VA_LIST_ from and use it. - */ -#include #include +#include __BEGIN_DECLS __dead void err(int, const char *, ...) __printflike(2, 3) __dead; -__dead void verr(int, const char *, _BSD_VA_LIST_) +__dead void verr(int, const char *, va_list) __printflike(2, 0) __dead; __dead void errx(int, const char *, ...) __printflike(2, 3) __dead; -__dead void verrx(int, const char *, _BSD_VA_LIST_) +__dead void verrx(int, const char *, va_list) __printflike(2, 0) __dead; void warn(const char *, ...) __printflike(1, 2); -void vwarn(const char *, _BSD_VA_LIST_) +void vwarn(const char *, va_list) __printflike(1, 0); void warnx(const char *, ...) __printflike(1, 2); -void vwarnx(const char *, _BSD_VA_LIST_) +void vwarnx(const char *, va_list) __printflike(1, 0); __END_DECLS Index: include/nsswitch.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/include/nsswitch.h,v retrieving revision 1.20 diff -u -p -r1.20 nsswitch.h --- include/nsswitch.h 28 Apr 2008 20:22:54 -0000 1.20 +++ include/nsswitch.h 11 Jul 2011 20:17:33 -0000 @@ -32,15 +32,8 @@ #ifndef _NSSWITCH_H #define _NSSWITCH_H 1 -/* - * Don't use va_list in prototypes. va_list is typedef'd in two places - * ( and ), so if we include one of - * them here we may collide with the utility's includes. It's unreasonable - * for utilities to have to include one of them to include nsswitch.h, so - * we get _BSD_VA_LIST_ from and use it. - */ -#include #include +#include #define NSS_MODULE_INTERFACE_VERSION 0 @@ -108,7 +101,7 @@ /* * ns_dtab `callback' function signature. */ -typedef int (*nss_method)(void *, void *, _BSD_VA_LIST_); +typedef int (*nss_method)(void *, void *, va_list); /* * ns_dtab - `nsswitch dispatch table' Index: include/stdio.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/include/stdio.h,v retrieving revision 1.78 diff -u -p -r1.78 stdio.h --- include/stdio.h 24 Sep 2010 09:21:53 -0000 1.78 +++ include/stdio.h 15 Jul 2011 11:52:57 -0000 @@ -41,7 +41,6 @@ #include #include -#include #ifdef _BSD_SIZE_T_ typedef _BSD_SIZE_T_ size_t; #undef _BSD_SIZE_T_ @@ -51,6 +50,13 @@ typedef _BSD_SSIZE_T_ ssize_t; #undef _BSD_SSIZE_T_ #endif +#if defined(_POSIX_C_SOURCE) +#ifndef __VA_LIST_DECLARED +typedef __va_list va_list; +#define __VA_LIST_DECLARED +#endif +#endif + #include /* @@ -259,9 +265,9 @@ int sscanf(const char * __restrict, con __scanflike(2, 3); FILE *tmpfile(void); int ungetc(int, FILE *); -int vfprintf(FILE * __restrict, const char * __restrict, _BSD_VA_LIST_) +int vfprintf(FILE * __restrict, const char * __restrict, __va_list) __printflike(2, 0); -int vprintf(const char * __restrict, _BSD_VA_LIST_) +int vprintf(const char * __restrict, __va_list) __printflike(1, 0); #ifndef __AUDIT__ @@ -270,7 +276,7 @@ int sprintf(char * __restrict, const ch __printflike(2, 3); char *tmpnam(char *); int vsprintf(char * __restrict, const char * __restrict, - _BSD_VA_LIST_) + __va_list) __printflike(2, 0); #endif @@ -340,7 +346,7 @@ __BEGIN_DECLS int snprintf(char * __restrict, size_t, const char * __restrict, ...) __printflike(3, 4); int vsnprintf(char * __restrict, size_t, const char * __restrict, - _BSD_VA_LIST_) + __va_list) __printflike(3, 0); __END_DECLS #endif @@ -381,12 +387,12 @@ __END_DECLS */ #if defined(_ISOC99_SOURCE) || defined(_NETBSD_SOURCE) __BEGIN_DECLS -int vscanf(const char * __restrict, _BSD_VA_LIST_) +int vscanf(const char * __restrict, __va_list) __scanflike(1, 0); -int vfscanf(FILE * __restrict, const char * __restrict, _BSD_VA_LIST_) +int vfscanf(FILE * __restrict, const char * __restrict, __va_list) __scanflike(2, 0); int vsscanf(const char * __restrict, const char * __restrict, - _BSD_VA_LIST_) + __va_list) __scanflike(2, 0); __END_DECLS #endif /* _ISOC99_SOURCE || _NETBSD_SOURCE */ @@ -411,7 +417,7 @@ int fpurge(FILE *); void setbuffer(FILE *, char *, int); int setlinebuf(FILE *); int vasprintf(char ** __restrict, const char * __restrict, - _BSD_VA_LIST_) + __va_list) __printflike(2, 0); const char *fmtcheck(const char *, const char *) __format_arg(2); @@ -493,7 +499,7 @@ static __inline int __sputc(int _c, FILE #endif /* !_ANSI_SOURCE */ #if (_POSIX_C_SOURCE - 0) >= 200809L || defined(_NETBSD_SOURCE) -int vdprintf(int, const char * __restrict, _BSD_VA_LIST_) +int vdprintf(int, const char * __restrict, __va_list) __printflike(2, 0); int dprintf(int, const char * __restrict, ...) __printflike(2, 3); Index: include/util.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/include/util.h,v retrieving revision 1.55 diff -u -p -r1.55 util.h --- include/util.h 25 Feb 2010 18:37:12 -0000 1.55 +++ include/util.h 11 Jul 2011 20:25:34 -0000 @@ -35,8 +35,9 @@ #include #include #include -#include #include +#include +#include #include #include #include @@ -138,8 +139,7 @@ void *erealloc(void *, size_t); struct __sFILE *efopen(const char *, const char *); int easprintf(char ** __restrict, const char * __restrict, ...) __printflike(2, 3); -int evasprintf(char ** __restrict, const char * __restrict, - _BSD_VA_LIST_) +int evasprintf(char ** __restrict, const char * __restrict, va_list) __printflike(2, 0); __END_DECLS Index: include/varargs.h =================================================================== RCS file: include/varargs.h diff -N include/varargs.h --- include/varargs.h 28 Apr 2008 20:22:54 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,45 +0,0 @@ -/* $NetBSD: varargs.h,v 1.3 2008/04/28 20:22:54 martin Exp $ */ - -/*- - * Copyright (c) 2003 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Matthias Scheler. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef _VARARGS_H_ -#define _VARARGS_H_ - -#include - -#if __GNUC_PREREQ__(3, 3) -#error "GCC 3.3 and newer no longer implements ." -#error "Revise your code to use ." -#else -#include -#endif - -#endif /* !_VARARGS_H_ */ - Index: include/wchar.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/include/wchar.h,v retrieving revision 1.29 diff -u -p -r1.29 wchar.h --- include/wchar.h 27 Mar 2010 22:14:09 -0000 1.29 +++ include/wchar.h 15 Jul 2011 11:53:46 -0000 @@ -86,6 +86,13 @@ typedef _BSD_SIZE_T_ size_t; #undef _BSD_SIZE_T_ #endif +#if defined(_POSIX_C_SOURCE) +#ifndef __VA_LIST_DECLARED +typedef __va_list va_list; +#define __VA_LIST_DECLARED +#endif +#endif + struct tm; __BEGIN_DECLS @@ -167,18 +174,18 @@ int fwprintf(FILE * __restrict, const wc int fwscanf(FILE * __restrict, const wchar_t * __restrict, ...); int swprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict, ...); int swscanf(const wchar_t * __restrict, const wchar_t * __restrict, ...); -int vfwprintf(FILE * __restrict, const wchar_t * __restrict, _BSD_VA_LIST_); +int vfwprintf(FILE * __restrict, const wchar_t * __restrict, __va_list); int vswprintf(wchar_t * __restrict, size_t, const wchar_t * __restrict, - _BSD_VA_LIST_); -int vwprintf(const wchar_t * __restrict, _BSD_VA_LIST_); + __va_list); +int vwprintf(const wchar_t * __restrict, __va_list); int wprintf(const wchar_t * __restrict, ...); int wscanf(const wchar_t * __restrict, ...); #if defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) > 199901L || \ defined(_NETBSD_SOURCE) -int vfwscanf(FILE * __restrict, const wchar_t * __restrict, _BSD_VA_LIST_); +int vfwscanf(FILE * __restrict, const wchar_t * __restrict, __va_list); int vswscanf(const wchar_t * __restrict, const wchar_t * __restrict, - _BSD_VA_LIST_); -int vwscanf(const wchar_t * __restrict, _BSD_VA_LIST_); + __va_list); +int vwscanf(const wchar_t * __restrict, __va_list); #endif #if defined(_NETBSD_SOURCE) struct tinfo; Index: include/ssp/stdio.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/include/ssp/stdio.h,v retrieving revision 1.4 diff -u -p -r1.4 stdio.h --- include/ssp/stdio.h 25 Feb 2010 18:37:13 -0000 1.4 +++ include/ssp/stdio.h 15 Jul 2011 12:38:13 -0000 @@ -37,13 +37,13 @@ __BEGIN_DECLS int __sprintf_chk(char *__restrict, int, size_t, const char *__restrict, ...) __printflike(4, 5); int __vsprintf_chk(char *__restrict, int, size_t, const char *__restrict, - _BSD_VA_LIST_) + __va_list) __printflike(4, 0); int __snprintf_chk(char *__restrict, size_t, int, size_t, const char *__restrict, ...) __printflike(5, 6); int __vsnprintf_chk(char *__restrict, size_t, int, size_t, - const char *__restrict, _BSD_VA_LIST_) + const char *__restrict, __va_list) __printflike(5, 0); char *__gets_chk(char *, size_t); char *__fgets_chk(char *, int, size_t, FILE *); Index: lib/libc/gen/_err.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/_err.c,v retrieving revision 1.11 diff -u -p -r1.11 _err.c --- lib/libc/gen/_err.c 13 Sep 2005 01:44:09 -0000 1.11 +++ lib/libc/gen/_err.c 11 Jul 2011 20:35:05 -0000 @@ -16,7 +16,7 @@ __indr_reference(_err, err) #include -__dead void _verr(int eval, const char *, _BSD_VA_LIST_); +__dead void _verr(int eval, const char *, va_list); __dead void err(int eval, const char *fmt, ...) Index: lib/libc/gen/_errx.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/_errx.c,v retrieving revision 1.11 diff -u -p -r1.11 _errx.c --- lib/libc/gen/_errx.c 13 Sep 2005 01:44:09 -0000 1.11 +++ lib/libc/gen/_errx.c 11 Jul 2011 20:35:09 -0000 @@ -16,7 +16,7 @@ __indr_reference(_errx, errx) #include -__dead void _verrx(int eval, const char *, _BSD_VA_LIST_); +__dead void _verrx(int eval, const char *, va_list); __dead void errx(int eval, const char *fmt, ...) Index: lib/libc/gen/_verr.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/_verr.c,v retrieving revision 1.10 diff -u -p -r1.10 _verr.c --- lib/libc/gen/_verr.c 13 Sep 2005 01:44:09 -0000 1.10 +++ lib/libc/gen/_verr.c 11 Jul 2011 20:35:32 -0000 @@ -10,14 +10,16 @@ __RCSID("$NetBSD: _verr.c,v 1.10 2005/09/13 01:44:09 christos Exp $"); #endif /* LIBC_SCCS and not lint */ +#include + #if defined(__indr_reference) __indr_reference(_verr, verr) #else -__dead void _verr(int, const char *, _BSD_VA_LIST_); +__dead void _verr(int, const char *, va_list); void -verr(int eval, const char *fmt, _BSD_VA_LIST_ ap) +verr(int eval, const char *fmt, va_list ap) { _verr(eval, fmt, ap); } Index: lib/libc/gen/_verrx.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/_verrx.c,v retrieving revision 1.10 diff -u -p -r1.10 _verrx.c --- lib/libc/gen/_verrx.c 13 Sep 2005 01:44:09 -0000 1.10 +++ lib/libc/gen/_verrx.c 11 Jul 2011 20:35:59 -0000 @@ -10,14 +10,16 @@ __RCSID("$NetBSD: _verrx.c,v 1.10 2005/09/13 01:44:09 christos Exp $"); #endif /* LIBC_SCCS and not lint */ +#include + #if defined(__indr_reference) __indr_reference(_verrx, verrx) #else -__dead void _verrx(int, const char *, _BSD_VA_LIST_); +__dead void _verrx(int, const char *, va_list); void -verrx(int eval, const char *fmt, _BSD_VA_LIST_ ap) +verrx(int eval, const char *fmt, va_list ap) { _verrx(eval, fmt, ap); } Index: lib/libc/gen/_vwarn.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/_vwarn.c,v retrieving revision 1.10 diff -u -p -r1.10 _vwarn.c --- lib/libc/gen/_vwarn.c 13 Sep 2005 01:44:09 -0000 1.10 +++ lib/libc/gen/_vwarn.c 11 Jul 2011 20:36:08 -0000 @@ -10,14 +10,16 @@ __RCSID("$NetBSD: _vwarn.c,v 1.10 2005/09/13 01:44:09 christos Exp $"); #endif /* LIBC_SCCS and not lint */ +#include + #if defined(__indr_reference) __indr_reference(_vwarn, vwarn) #else -void _vwarn(const char *, _BSD_VA_LIST_); +void _vwarn(const char *, va_list); void -vwarn(const char *fmt, _BSD_VA_LIST_ ap) +vwarn(const char *fmt, va_list ap) { _vwarn(fmt, ap); } Index: lib/libc/gen/_vwarnx.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/_vwarnx.c,v retrieving revision 1.10 diff -u -p -r1.10 _vwarnx.c --- lib/libc/gen/_vwarnx.c 13 Sep 2005 01:44:09 -0000 1.10 +++ lib/libc/gen/_vwarnx.c 11 Jul 2011 20:37:00 -0000 @@ -10,14 +10,16 @@ __RCSID("$NetBSD: _vwarnx.c,v 1.10 2005/09/13 01:44:09 christos Exp $"); #endif /* LIBC_SCCS and not lint */ +#include + #if defined(__indr_reference) __indr_reference(_vwarnx, vwarnx) #else -void _vwarnx(const char *, _BSD_VA_LIST_); +void _vwarnx(const char *, va_list); void -vwarnx(const char *fmt, _BSD_VA_LIST_ ap) +vwarnx(const char *fmt, va_list ap) { _vwarnx(fmt, ap); } Index: lib/libc/gen/_warn.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/_warn.c,v retrieving revision 1.10 diff -u -p -r1.10 _warn.c --- lib/libc/gen/_warn.c 13 Sep 2005 01:44:09 -0000 1.10 +++ lib/libc/gen/_warn.c 11 Jul 2011 20:37:06 -0000 @@ -16,7 +16,7 @@ __indr_reference(_warn, warn) #include -void _vwarn(const char *, _BSD_VA_LIST_); +void _vwarn(const char *, va_list); void warn(const char *fmt, ...) Index: lib/libc/gen/_warnx.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/_warnx.c,v retrieving revision 1.10 diff -u -p -r1.10 _warnx.c --- lib/libc/gen/_warnx.c 13 Sep 2005 01:44:09 -0000 1.10 +++ lib/libc/gen/_warnx.c 11 Jul 2011 20:37:10 -0000 @@ -16,7 +16,7 @@ __indr_reference(_warnx, warnx) #include -void _vwarnx(const char *, _BSD_VA_LIST_); +void _vwarnx(const char *, va_list); void warnx(const char *fmt, ...) Index: lib/libc/gen/verr.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/verr.c,v retrieving revision 1.14 diff -u -p -r1.14 verr.c --- lib/libc/gen/verr.c 18 Jun 2007 14:13:54 -0000 1.14 +++ lib/libc/gen/verr.c 11 Jul 2011 20:37:13 -0000 @@ -56,7 +56,7 @@ __weak_alias(verr, _verr) #if !HAVE_ERR_H __dead void -verr(int eval, const char *fmt, _BSD_VA_LIST_ ap) +verr(int eval, const char *fmt, va_list ap) { int sverrno; Index: lib/libc/gen/verrx.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/verrx.c,v retrieving revision 1.14 diff -u -p -r1.14 verrx.c --- lib/libc/gen/verrx.c 18 Jun 2007 14:13:54 -0000 1.14 +++ lib/libc/gen/verrx.c 11 Jul 2011 20:37:19 -0000 @@ -54,7 +54,7 @@ __weak_alias(verrx, _verrx) #if !HAVE_ERR_H __dead void -verrx(int eval, const char *fmt, _BSD_VA_LIST_ ap) +verrx(int eval, const char *fmt, va_list ap) { (void)fprintf(stderr, "%s: ", getprogname()); if (fmt != NULL) Index: lib/libc/gen/vwarn.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/vwarn.c,v retrieving revision 1.14 diff -u -p -r1.14 vwarn.c --- lib/libc/gen/vwarn.c 18 Jun 2007 14:13:54 -0000 1.14 +++ lib/libc/gen/vwarn.c 11 Jul 2011 20:37:21 -0000 @@ -56,7 +56,7 @@ __weak_alias(vwarn, _vwarn) #if !HAVE_ERR_H void -vwarn(const char *fmt, _BSD_VA_LIST_ ap) +vwarn(const char *fmt, va_list ap) { int sverrno; Index: lib/libc/gen/vwarnx.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/gen/vwarnx.c,v retrieving revision 1.14 diff -u -p -r1.14 vwarnx.c --- lib/libc/gen/vwarnx.c 18 Jun 2007 14:13:54 -0000 1.14 +++ lib/libc/gen/vwarnx.c 11 Jul 2011 20:37:23 -0000 @@ -54,7 +54,7 @@ __weak_alias(vwarnx, _vwarnx) #if !HAVE_ERR_H void -vwarnx(const char *fmt, _BSD_VA_LIST_ ap) +vwarnx(const char *fmt, va_list ap) { (void)fprintf(stderr, "%s: ", getprogname()); if (fmt != NULL) Index: lib/libc/include/extern.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/include/extern.h,v retrieving revision 1.17 diff -u -p -r1.17 extern.h --- lib/libc/include/extern.h 21 Oct 2009 01:07:45 -0000 1.17 +++ lib/libc/include/extern.h 11 Jul 2011 21:05:39 -0000 @@ -24,6 +24,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include + __BEGIN_DECLS extern char *__minbrk; int __getcwd(char *, size_t); @@ -49,18 +51,18 @@ char *__ldtoa(long double *, int, int, i struct syslog_data; void syslog_ss(int, struct syslog_data *, const char *, ...) __attribute__((__format__(__printf__,3,4))); -void vsyslog_ss(int, struct syslog_data *, const char *, _BSD_VA_LIST_); -void vsyslog_ss(int, struct syslog_data *, const char *, _BSD_VA_LIST_) +void vsyslog_ss(int, struct syslog_data *, const char *, va_list); +void vsyslog_ss(int, struct syslog_data *, const char *, va_list) __attribute__((__format__(__printf__,3,0))); void syslogp_ss(int, struct syslog_data *, const char *, const char *, const char *, ...) __attribute__((__format__(__printf__,5,0))); void vsyslogp_ss(int, struct syslog_data *, const char *, const char *, - const char *, _BSD_VA_LIST_) __attribute__((__format__(__printf__,5,0))); + const char *, va_list) __attribute__((__format__(__printf__,5,0))); int snprintf_ss(char * __restrict, size_t, const char * __restrict, ...) __attribute__((__format__(__printf__, 3, 4))); int vsnprintf_ss(char * __restrict, size_t, const char * __restrict, - _BSD_VA_LIST_) __attribute__((__format__(__printf__, 3, 0))); + va_list) __attribute__((__format__(__printf__, 3, 0))); void _malloc_prefork(void); void _malloc_postfork(void); Index: lib/libc/stdio/local.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/stdio/local.h,v retrieving revision 1.29 diff -u -p -r1.29 local.h --- lib/libc/stdio/local.h 24 Oct 2010 17:44:32 -0000 1.29 +++ lib/libc/stdio/local.h 15 Jul 2011 12:43:18 -0000 @@ -38,6 +38,7 @@ #include "fileext.h" #include +#include #include /* @@ -63,13 +64,13 @@ extern char *_mktemp __P((char *)); extern int __swsetup __P((FILE *)); extern int __sflags __P((const char *, int *)); extern int __svfscanf __P((FILE * __restrict, const char * __restrict, - _BSD_VA_LIST_)) + va_list)) __attribute__((__format__(__scanf__, 2, 0))); extern int __svfscanf_unlocked __P((FILE * __restrict, const char * __restrict, - _BSD_VA_LIST_)) + va_list)) __attribute__((__format__(__scanf__, 2, 0))); extern int __vfprintf_unlocked __P((FILE * __restrict, const char * __restrict, - _BSD_VA_LIST_)); + va_list)); extern int __sdidinit; @@ -83,9 +84,9 @@ extern ssize_t __getdelim(char **__restr FILE *__restrict); extern char *__fgetstr __P((FILE * __restrict, size_t * __restrict, int)); extern int __vfwprintf_unlocked __P((FILE *, const wchar_t *, - _BSD_VA_LIST_)); + va_list)); extern int __vfwscanf_unlocked __P((FILE * __restrict, - const wchar_t * __restrict, _BSD_VA_LIST_)); + const wchar_t * __restrict, va_list)); /* * Return true iff the given FILE cannot be written now. Index: lib/libc/stdio/vasprintf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/stdio/vasprintf.c,v retrieving revision 1.12 diff -u -p -r1.12 vasprintf.c --- lib/libc/stdio/vasprintf.c 25 Oct 2009 20:44:13 -0000 1.12 +++ lib/libc/stdio/vasprintf.c 11 Jul 2011 20:37:55 -0000 @@ -40,10 +40,7 @@ __RCSID("$NetBSD: vasprintf.c,v 1.12 200 #include "local.h" int -vasprintf(str, fmt, ap) - char **str; - const char *fmt; - _BSD_VA_LIST_ ap; +vasprintf(char **str, const char *fmt, va_list ap) { int ret; FILE f; Index: lib/libc/stdio/vdprintf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/stdio/vdprintf.c,v retrieving revision 1.1 diff -u -p -r1.1 vdprintf.c --- lib/libc/stdio/vdprintf.c 6 Sep 2010 14:52:55 -0000 1.1 +++ lib/libc/stdio/vdprintf.c 11 Jul 2011 20:37:59 -0000 @@ -55,7 +55,7 @@ __weak_alias(vdprintf,_vdprintf) #endif int -vdprintf(int fd, const char * __restrict fmt, _BSD_VA_LIST_ ap) +vdprintf(int fd, const char * __restrict fmt, va_list ap) { FILE f; struct __sfileext fext; Index: lib/libc/stdio/vprintf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/stdio/vprintf.c,v retrieving revision 1.10 diff -u -p -r1.10 vprintf.c --- lib/libc/stdio/vprintf.c 7 Aug 2003 16:43:34 -0000 1.10 +++ lib/libc/stdio/vprintf.c 15 Jul 2011 12:47:09 -0000 @@ -43,12 +43,11 @@ __RCSID("$NetBSD: vprintf.c,v 1.10 2003/ #include #include +#include #include int -vprintf(fmt, ap) - char const *fmt; - _BSD_VA_LIST_ ap; +vprintf(const char *fmt, va_list ap) { _DIAGASSERT(fmt != NULL); Index: lib/libc/stdio/vscanf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/stdio/vscanf.c,v retrieving revision 1.12 diff -u -p -r1.12 vscanf.c --- lib/libc/stdio/vscanf.c 7 Aug 2003 16:43:35 -0000 1.12 +++ lib/libc/stdio/vscanf.c 11 Jul 2011 20:38:26 -0000 @@ -49,9 +49,7 @@ __RCSID("$NetBSD: vscanf.c,v 1.12 2003/0 #include "local.h" int -vscanf(fmt, ap) - const char *fmt; - _BSD_VA_LIST_ ap; +vscanf(const char *fmt, va_list ap) { _DIAGASSERT(fmt != NULL); Index: lib/libc/stdio/vsnprintf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/stdio/vsnprintf.c,v retrieving revision 1.22 diff -u -p -r1.22 vsnprintf.c --- lib/libc/stdio/vsnprintf.c 26 Oct 2007 19:48:14 -0000 1.22 +++ lib/libc/stdio/vsnprintf.c 11 Jul 2011 20:38:43 -0000 @@ -59,11 +59,7 @@ __weak_alias(vsnprintf,_vsnprintf) #endif int -vsnprintf(str, n, fmt, ap) - char *str; - size_t n; - const char *fmt; - _BSD_VA_LIST_ ap; +vsnprintf(char *str, size_t n, const char *fmt, va_list ap) { int ret; FILE f; Index: lib/libc/stdio/vsnprintf_ss.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/stdio/vsnprintf_ss.c,v retrieving revision 1.9 diff -u -p -r1.9 vsnprintf_ss.c --- lib/libc/stdio/vsnprintf_ss.c 17 Dec 2009 15:19:48 -0000 1.9 +++ lib/libc/stdio/vsnprintf_ss.c 11 Jul 2011 20:38:47 -0000 @@ -116,7 +116,7 @@ __weak_alias(vsnprintf_ss,_vsnprintf_ss) } while (/*CONSTCOND*/0) int -vsnprintf_ss(char *sbuf, size_t slen, const char *fmt0, _BSD_VA_LIST_ ap) +vsnprintf_ss(char *sbuf, size_t slen, const char *fmt0, va_list ap) { const char *fmt; /* format string */ int ch; /* character from fmt */ Index: lib/libc/stdio/vsprintf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/stdio/vsprintf.c,v retrieving revision 1.15 diff -u -p -r1.15 vsprintf.c --- lib/libc/stdio/vsprintf.c 3 Jun 2007 17:39:27 -0000 1.15 +++ lib/libc/stdio/vsprintf.c 11 Jul 2011 20:38:58 -0000 @@ -53,10 +53,7 @@ __RCSID("$NetBSD: vsprintf.c,v 1.15 2007 #endif int -vsprintf(str, fmt, ap) - char *str; - const char *fmt; - _BSD_VA_LIST_ ap; +vsprintf(char *str, const char *fmt, va_list ap) { int ret; FILE f; Index: lib/libc/stdio/vsscanf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libc/stdio/vsscanf.c,v retrieving revision 1.15 diff -u -p -r1.15 vsscanf.c --- lib/libc/stdio/vsscanf.c 11 Jan 2010 20:39:29 -0000 1.15 +++ lib/libc/stdio/vsscanf.c 11 Jul 2011 20:39:13 -0000 @@ -61,10 +61,7 @@ eofread(cookie, buf, len) } int -vsscanf(str, fmt, ap) - const char *str; - const char *fmt; - _BSD_VA_LIST_ ap; +vsscanf(const char *str, const char *fmt, va_list ap) { FILE f; struct __sfileext fext; Index: lib/libcurses/curses.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libcurses/curses.h,v retrieving revision 1.101 diff -u -p -r1.101 curses.h --- lib/libcurses/curses.h 16 Dec 2010 17:42:28 -0000 1.101 +++ lib/libcurses/curses.h 15 Jul 2011 12:57:18 -0000 @@ -735,10 +735,10 @@ int ungetch(int); int untouchwin(WINDOW *); int use_default_colors(void); int vline(chtype, int); -int vw_printw(WINDOW *, const char *, _BSD_VA_LIST_) __printflike(2, 0); -int vw_scanw(WINDOW *, const char *, _BSD_VA_LIST_) __scanflike(2, 0); -int vwprintw(WINDOW *, const char *, _BSD_VA_LIST_) __printflike(2, 0); -int vwscanw(WINDOW *, const char *, _BSD_VA_LIST_) __scanflike(2, 0); +int vw_printw(WINDOW *, const char *, __va_list) __printflike(2, 0); +int vw_scanw(WINDOW *, const char *, __va_list) __scanflike(2, 0); +int vwprintw(WINDOW *, const char *, __va_list) __printflike(2, 0); +int vwscanw(WINDOW *, const char *, __va_list) __scanflike(2, 0); int waddch(WINDOW *, chtype); int waddchnstr(WINDOW *, const chtype *, int); int waddchstr(WINDOW *, const chtype *); Index: lib/libcurses/printw.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libcurses/printw.c,v retrieving revision 1.21 diff -u -p -r1.21 printw.c --- lib/libcurses/printw.c 7 Jul 2009 10:16:52 -0000 1.21 +++ lib/libcurses/printw.c 11 Jul 2011 20:32:11 -0000 @@ -139,7 +139,7 @@ __winwrite(cookie, buf, n) * This routine actually executes the printf and adds it to the window. */ int -vw_printw(WINDOW *win, const char *fmt, _BSD_VA_LIST_ ap) +vw_printw(WINDOW *win, const char *fmt, va_list ap) { FILE *f; Index: lib/libcurses/scanw.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/lib/libcurses/scanw.c,v retrieving revision 1.20 diff -u -p -r1.20 scanw.c --- lib/libcurses/scanw.c 7 Jul 2009 10:16:52 -0000 1.20 +++ lib/libcurses/scanw.c 11 Jul 2011 20:32:16 -0000 @@ -113,7 +113,7 @@ mvwscanw(WINDOW * win, int y, int x, con * This routine actually executes the scanf from the window. */ int -vw_scanw(WINDOW *win, const char *fmt, _BSD_VA_LIST_ ap) +vw_scanw(WINDOW *win, const char *fmt, va_list ap) { char buf[1024]; Index: share/man/man3/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/share/man/man3/Makefile,v retrieving revision 1.77 diff -u -p -r1.77 Makefile --- share/man/man3/Makefile 25 Jun 2011 05:45:11 -0000 1.77 +++ share/man/man3/Makefile 11 Jul 2011 20:58:15 -0000 @@ -13,7 +13,7 @@ MAN= _DIAGASSERT.3 __CONCAT.3 __UNCONST. makedev.3 offsetof.3 param.3 paths.3 queue.3 rbtree.3 sigevent.3 \ stdarg.3 stdbool.3 stddef.3 stdint.3 stdlib.3 sysexits.3 \ tgmath.3 timeradd.3 timeval.3 tm.3 tree.3 typeof.3 types.3 \ - unistd.3 varargs.3 + unistd.3 USETBL= # used by queue.3 Index: share/man/man3/varargs.3 =================================================================== RCS file: share/man/man3/varargs.3 diff -N share/man/man3/varargs.3 --- share/man/man3/varargs.3 8 Apr 2011 08:47:54 -0000 1.8 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,203 +0,0 @@ -.\" $NetBSD: varargs.3,v 1.8 2011/04/08 08:47:54 wiz Exp $ -.\" -.\" Copyright (c) 1990, 1991, 1993 -.\" The Regents of the University of California. All rights reserved. -.\" -.\" This code is derived from software contributed to Berkeley by -.\" the American National Standards Committee X3, on Information -.\" Processing Systems. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. Neither the name of the University nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" From: -.\" (#)stdarg.3 8.1 (Berkeley) 6/5/93 -.\" NetBSD: stdarg.3,v 1.11 2002/02/04 18:27:38 kleink Exp -.\" -.Dd February 4, 2002 -.Dt VARARGS 3 -.Os -.Sh NAME -.Nm varargs -.Nd variable argument lists -.Sh SYNOPSIS -.In varargs.h -.Ft void -.Fn va_start "va_list ap" -.Ft type -.Fn va_arg "va_list ap" type -.Ft void -.Fn va_end "va_list ap" -.Sh DESCRIPTION -.Bf -symbolic -These historic interfaces are provided to support compilation of -existing programs only. -New code should use the -.Xr stdarg 3 -interfaces. -.Ef -.Pp -A function may be called with a varying number of arguments of varying -types. -The include file -.In varargs.h -declares a type -.Pq Em va_list -and defines three macros for stepping -through a list of arguments whose number and types are not known to -the called function. -.Pp -The called function must name an argument -.Fa va_alist , -which marks the start of the variable argument list, -and which is naturally the last argument named. -It is declared by -.Fa va_dcl , -which should not be followed by a semicolon. -The called function also must declare an object of type -.Em va_list -which is used by the macros -.Fn va_start , -.Fn va_arg , -and -.Fn va_end . -.Pp -The -.Fn va_start -macro initializes -.Fa ap -for subsequent use by -.Fn va_arg -and -.Fn va_end , -and must be called first. -.Pp -It is possible for -.Fa va_alist -to be the only parameter to a function, resulting in it being possible -for a function to have no fixed arguments preceding the variable -argument list. -.Pp -The -.Fn va_start -macro returns no value. -.Pp -The -.Fn va_arg -macro expands to an expression that has the type and value of the next -argument in the call. -The parameter -.Fa ap -is the -.Em va_list Fa ap -initialized by -.Fn va_start . -Each call to -.Fn va_arg -modifies -.Fa ap -so that the next call returns the next argument. -The parameter -.Fa type -is a type name specified so that the type of a pointer to an -object that has the specified type can be obtained simply by -adding a * -to -.Fa type . -.Pp -If there is no next argument, or if -.Fa type -is not compatible with the type of the actual next argument -(as promoted according to the default argument promotions), -random errors will occur. -.Pp -The first use of the -.Fn va_arg -macro after that of the -.Fn va_start -macro returns the argument after -.Fa last . -Successive invocations return the values of the remaining -arguments. -.Pp -The -.Fn va_end -macro handles a normal return from the function whose variable argument -list was initialized by -.Fn va_start . -.Pp -The -.Fn va_end -macro returns no value. -.Sh EXAMPLES -The function -.Em foo -takes a string of format characters and prints out the argument -associated with each format character based on the type. -.Bd -literal -offset indent -void foo(fmt, va_alist) - char *fmt; - va_dcl -{ - va_list ap; - int d; - char c, *p, *s; - - va_start(ap); - while (*fmt) { - switch (*fmt++) { - case 's': /* string */ - s = va_arg(ap, char *); - printf("string %s\en", s); - break; - case 'd': /* int */ - d = va_arg(ap, int); - printf("int %d\en", d); - break; - case 'c': /* char */ - c = va_arg(ap, char); - printf("char %c\en", c); - break; - } - } - va_end(ap); -} -.Ed -.Sh COMPATIBILITY -These macros are -.Em not -compatible with the new macros they were replaced by. -In particular, it is not possible for a -.Em stdarg -function to have no fixed arguments. -.Sh SEE ALSO -.Xr stdarg 3 -.Sh STANDARDS -These historic macros were replaced in -.St -ansiC -by the include file -.In stdarg.h ; -see -.Xr stdarg 3 -for its description. Index: share/man/man9/kprintf.9 =================================================================== RCS file: /home/joerg/repo/netbsd/src/share/man/man9/kprintf.9,v retrieving revision 1.30 diff -u -p -r1.30 kprintf.9 --- share/man/man9/kprintf.9 21 Jan 2011 17:51:19 -0000 1.30 +++ share/man/man9/kprintf.9 11 Jul 2011 21:49:45 -0000 @@ -51,7 +51,6 @@ .Fn "printf_nolog" "const char *format" "..." .Ft int .Fn "snprintf" "char *buf" "size_t size" "const char *format" "..." -.In machine/stdarg.h .Ft void .Fn "vprintf" "const char *format" "va_list ap" .Ft int Index: sys/arch/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/Makefile,v retrieving revision 1.40 diff -u -p -r1.40 Makefile --- sys/arch/Makefile 13 Dec 2009 05:01:33 -0000 1.40 +++ sys/arch/Makefile 11 Jul 2011 21:12:26 -0000 @@ -55,7 +55,6 @@ SUBDIR+= xen INCSYMLINKS= ${MACHINE} /usr/include/machine -INCSYMLINKS+= machine/float.h /usr/include/float.h \ - machine/stdarg.h /usr/include/stdarg.h +INCSYMLINKS+= machine/float.h /usr/include/float.h .include Index: sys/arch/acorn26/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/acorn26/include/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- sys/arch/acorn26/include/Makefile 19 Jan 2008 13:11:11 -0000 1.9 +++ sys/arch/acorn26/include/Makefile 11 Jul 2011 18:18:29 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mutex.h mcontext.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/acorn26/include/varargs.h =================================================================== RCS file: sys/arch/acorn26/include/varargs.h diff -N sys/arch/acorn26/include/varargs.h --- sys/arch/acorn26/include/varargs.h 24 Mar 2002 15:47:12 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2002/03/24 15:47:12 bjh21 Exp $ */ - -#include Index: sys/arch/acorn32/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/acorn32/include/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- sys/arch/acorn32/include/Makefile 19 Jan 2008 13:11:10 -0000 1.25 +++ sys/arch/acorn32/include/Makefile 11 Jul 2011 18:18:55 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h INCS+= joystick.h Index: sys/arch/acorn32/include/stdarg.h =================================================================== RCS file: sys/arch/acorn32/include/stdarg.h diff -N sys/arch/acorn32/include/stdarg.h --- sys/arch/acorn32/include/stdarg.h 5 Oct 2001 22:27:52 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2001/10/05 22:27:52 reinoud Exp $ */ - -#include Index: sys/arch/acorn32/include/varargs.h =================================================================== RCS file: sys/arch/acorn32/include/varargs.h diff -N sys/arch/acorn32/include/varargs.h --- sys/arch/acorn32/include/varargs.h 5 Oct 2001 22:27:53 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2001/10/05 22:27:53 reinoud Exp $ */ - -#include Index: sys/arch/acorn32/stand/lib/riscosdisk.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/acorn32/stand/lib/riscosdisk.c,v retrieving revision 1.3 diff -u -p -r1.3 riscosdisk.c --- sys/arch/acorn32/stand/lib/riscosdisk.c 12 Jan 2009 07:07:07 -0000 1.3 +++ sys/arch/acorn32/stand/lib/riscosdisk.c 11 Jul 2011 21:37:52 -0000 @@ -35,8 +35,6 @@ #include #include -#include - struct riscosdisk { void *privword; int drive; Index: sys/arch/algor/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/algor/include/Makefile,v retrieving revision 1.12 diff -u -p -r1.12 Makefile --- sys/arch/algor/include/Makefile 12 Aug 2009 23:29:18 -0000 1.12 +++ sys/arch/algor/include/Makefile 11 Jul 2011 18:19:10 -0000 @@ -18,9 +18,9 @@ INCS= ansi.h asm.h autoconf.h \ param.h pcb.h pci_machdep.h \ pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/algor/include/stdarg.h =================================================================== RCS file: sys/arch/algor/include/stdarg.h diff -N sys/arch/algor/include/stdarg.h --- sys/arch/algor/include/stdarg.h 28 May 2001 16:22:20 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2001/05/28 16:22:20 thorpej Exp $ */ - -#include Index: sys/arch/algor/include/varargs.h =================================================================== RCS file: sys/arch/algor/include/varargs.h diff -N sys/arch/algor/include/varargs.h --- sys/arch/algor/include/varargs.h 28 May 2001 16:22:20 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2001/05/28 16:22:20 thorpej Exp $ */ - -#include Index: sys/arch/alpha/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/alpha/include/Makefile,v retrieving revision 1.30 diff -u -p -r1.30 Makefile --- sys/arch/alpha/include/Makefile 9 Jul 2011 17:19:22 -0000 1.30 +++ sys/arch/alpha/include/Makefile 11 Jul 2011 18:19:28 -0000 @@ -18,9 +18,9 @@ INCS= alpha_cpu.h ansi.h aout_machdep.h pal.h param.h pcb.h pio.h pmap.h pmc.h proc.h profile.h prom.h psl.h \ pte.h ptrace.h \ reg.h rpb.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ types.h \ - varargs.h vmparam.h vuid_event.h \ + vmparam.h vuid_event.h \ wchar_limits.h \ z8530var.h Index: sys/arch/alpha/include/alpha.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/alpha/include/alpha.h,v retrieving revision 1.28 diff -u -p -r1.28 alpha.h --- sys/arch/alpha/include/alpha.h 6 Jul 2011 20:44:47 -0000 1.28 +++ sys/arch/alpha/include/alpha.h 11 Jul 2011 21:34:00 -0000 @@ -58,7 +58,6 @@ typedef union alpha_t_float { #ifdef _KERNEL #include -#include #include Index: sys/arch/alpha/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/alpha/include/ansi.h,v retrieving revision 1.23 diff -u -p -r1.23 ansi.h --- sys/arch/alpha/include/ansi.h 27 Mar 2010 22:14:09 -0000 1.23 +++ sys/arch/alpha/include/ansi.h 11 Jul 2011 18:42:00 -0000 @@ -52,16 +52,6 @@ #define _BSD_SIZE_T_ unsigned long /* sizeof() */ #define _BSD_SSIZE_T_ long /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(2, 96) -#define _BSD_VA_LIST_ __builtin_va_list /* GCC built-in type */ -#else -typedef struct { - char *__base; - int __offset; - int __pad; -} __va_list; -#define _BSD_VA_LIST_ __va_list /* va_list */ -#endif #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/alpha/include/stdarg.h =================================================================== RCS file: sys/arch/alpha/include/stdarg.h diff -N sys/arch/alpha/include/stdarg.h --- sys/arch/alpha/include/stdarg.h 7 Jul 2011 01:27:13 -0000 1.19 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,85 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.19 2011/07/07 01:27:13 mrg Exp $ */ - -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)stdarg.h 8.1 (Berkeley) 6/10/93 - */ - -#ifndef _ALPHA_STDARG_H_ -#define _ALPHA_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ -#define va_start(a, l) ((a).__base = (void *)&(l), (a).__offset = 0) -#define va_arg(a, t) ((t)((a).__base ? 0 : 0)) -#define va_end(a) /* nothing */ -#else /* !__lint__ */ -#if __GNUC_PREREQ__(2, 96) -#if __GNUC_PREREQ__(4, 5) -#define va_start(ap, last) __builtin_va_start((ap), (last)) -#else -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#endif -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) -#else -#define __va_size(type) \ - (((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long)) - -#define va_start(ap, last) \ - (__builtin_next_arg(last), (ap) = *(va_list *)__builtin_saveregs(), (ap).__pad = 0) - -#define __REAL_TYPE_CLASS 8 -#define __va_arg_offset(ap, type) \ - ((__builtin_classify_type(*(type *)0) == __REAL_TYPE_CLASS && \ - (ap).__offset <= (6 * 8) ? -(6 * 8) : 0) - __va_size(type)) - -#define va_arg(ap, type) \ - (*(type *)((ap).__offset += __va_size(type), \ - (ap).__base + (ap).__offset + __va_arg_offset(ap, type))) - -#define va_end(ap) - -#define __va_copy(dest, src) \ - ((dest) = (src)) -#endif -#endif /* __lint__ */ - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy((dest), (src)) -#endif - -#endif /* !_ALPHA_STDARG_H_ */ Index: sys/arch/alpha/include/varargs.h =================================================================== RCS file: sys/arch/alpha/include/varargs.h diff -N sys/arch/alpha/include/varargs.h --- sys/arch/alpha/include/varargs.h 11 Dec 2005 12:16:16 -0000 1.11 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,67 +0,0 @@ -/* $NetBSD: varargs.h,v 1.11 2005/12/11 12:16:16 christos Exp $ */ - -/*- - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)varargs.h 8.2 (Berkeley) 3/22/94 - */ - -#ifndef _ALPHA_VARARGS_H_ -#define _ALPHA_VARARGS_H_ - -#include - -#if !__GNUC_PREREQ__(2, 0) -#define __va_ellipsis -#else -#define __va_ellipsis ... -#endif - -#if __GNUC_PREREQ__(2, 96) -#define __va_alist_t __builtin_va_alist_t -#else -#define __va_alist_t long -#endif - -#define va_alist __builtin_va_alist -#define va_dcl __va_alist_t __builtin_va_alist; __va_ellipsis - -#undef va_start -#if __GNUC_PREREQ__(2, 96) -#define va_start(ap) __builtin_varargs_start((ap)) -#else -#define va_start(ap) \ - ((ap) = *(va_list *)__builtin_saveregs(), (ap).__pad = 0) -#endif - -#endif /* !_ALPHA_VARARGS_H_ */ Index: sys/arch/alpha/stand/netboot/dev_net.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/alpha/stand/netboot/dev_net.c,v retrieving revision 1.15 diff -u -p -r1.15 dev_net.c --- sys/arch/alpha/stand/netboot/dev_net.c 21 Oct 2009 23:12:09 -0000 1.15 +++ sys/arch/alpha/stand/netboot/dev_net.c 11 Jul 2011 21:37:54 -0000 @@ -43,7 +43,6 @@ * for use by the NFS open code (NFS/lookup). */ -#include #include #include #include Index: sys/arch/amd64/amd64/db_disasm.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/amd64/amd64/db_disasm.c,v retrieving revision 1.15 diff -u -p -r1.15 db_disasm.c --- sys/arch/amd64/amd64/db_disasm.c 10 Apr 2011 20:36:49 -0000 1.15 +++ sys/arch/amd64/amd64/db_disasm.c 11 Jul 2011 21:34:04 -0000 @@ -39,7 +39,6 @@ __KERNEL_RCSID(0, "$NetBSD: db_disasm.c, #include #include #include -#include #endif /* _KERNEL */ #include Index: sys/arch/amd64/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/amd64/include/Makefile,v retrieving revision 1.11 diff -u -p -r1.11 Makefile --- sys/arch/amd64/include/Makefile 31 Jul 2010 21:47:53 -0000 1.11 +++ sys/arch/amd64/include/Makefile 11 Jul 2011 18:17:37 -0000 @@ -20,10 +20,10 @@ INCS= ansi.h aout_machdep.h asm.h \ param.h pcb.h pci_machdep.h pio.h pmap.h pmc.h proc.h \ profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - segments.h setjmp.h signal.h specialreg.h stdarg.h sysarch.h \ + segments.h setjmp.h signal.h specialreg.h sysarch.h \ trap.h tss.h types.h \ userret.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/amd64/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/amd64/include/ansi.h,v retrieving revision 1.9 diff -u -p -r1.9 ansi.h --- sys/arch/amd64/include/ansi.h 27 Mar 2010 22:14:09 -0000 1.9 +++ sys/arch/amd64/include/ansi.h 11 Jul 2011 18:42:08 -0000 @@ -54,11 +54,6 @@ #define _BSD_SIZE_T_ unsigned long /* sizeof() */ #define _BSD_SSIZE_T_ long /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#ifdef __GNUC__ -#define _BSD_VA_LIST_ __builtin_va_list /* GCC built-in type */ -#else -#define _BSD_VA_LIST_ char * /* XXXfvdl should be ok? */ -#endif #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/amd64/include/stdarg.h =================================================================== RCS file: sys/arch/amd64/include/stdarg.h diff -N sys/arch/amd64/include/stdarg.h --- sys/arch/amd64/include/stdarg.h 20 Jun 2011 09:11:17 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,74 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.7 2011/06/20 09:11:17 mrg Exp $ */ - -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)stdarg.h 8.1 (Berkeley) 6/10/93 - */ - -#ifndef _AMD64_STDARG_H_ -#define _AMD64_STDARG_H_ - -#ifdef __x86_64__ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ -#define __builtin_next_arg(t) ((t) ? 0 : 0) -#define __builtin_stdarg_start(a, l) ((a) = (va_list)(void *)&(l)) -#define __builtin_va_start(a, l) ((a) = (va_list)(void *)&(l)) -#define __builtin_va_arg(a, t) ((a) ? (t) 0 : (t) 0) -#define __builtin_va_end(a) /* nothing */ -#define __builtin_va_copy(d, s) ((d) = (s)) -#endif - -#if __GNUC_PREREQ__(4, 5) -#define va_start(ap, last) __builtin_va_start((ap), (last)) -#else -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#endif -#define va_arg __builtin_va_arg -#define va_end(ap) __builtin_va_end(ap) -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy((dest), (src)) -#endif - -#else /* __x86_64__ */ - -#include - -#endif /* __x86_64__ */ - -#endif /* !_AMD64_STDARG_H_ */ Index: sys/arch/amd64/include/varargs.h =================================================================== RCS file: sys/arch/amd64/include/varargs.h diff -N sys/arch/amd64/include/varargs.h --- sys/arch/amd64/include/varargs.h 26 Oct 2008 00:08:15 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,60 +0,0 @@ -/* $NetBSD: varargs.h,v 1.4 2008/10/26 00:08:15 mrg Exp $ */ - -/*- - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)varargs.h 8.2 (Berkeley) 3/22/94 - */ - -#ifndef _AMD64_VARARGS_H_ -#define _AMD64_VARARGS_H_ - -#ifdef __x86_64__ - -#include - -#define __va_ellipsis ... -#define __va_alist_t __builtin_va_alist_t -#define va_alist __builtin_va_alist -#define va_dcl __va_alist_t __builtin_va_alist; __va_ellipsis - -#undef va_start -#define va_start(ap) __builtin_varargs_start((ap)) - -#else /* __x86_64__ */ - -#include - -#endif /* __x86_64__ */ - -#endif /* !_AMD64_VARARGS_H_ */ Index: sys/arch/amiga/dev/amidisplaycc.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/amiga/dev/amidisplaycc.c,v retrieving revision 1.22 diff -u -p -r1.22 amidisplaycc.c --- sys/arch/amiga/dev/amidisplaycc.c 18 Mar 2009 16:00:09 -0000 1.22 +++ sys/arch/amiga/dev/amidisplaycc.c 11 Jul 2011 21:34:08 -0000 @@ -66,8 +66,6 @@ __KERNEL_RCSID(0, "$NetBSD: amidisplaycc #include #include -#include - /* These can be lowered if you are sure you dont need that much colors. */ #define MAXDEPTH 8 #define MAXROWS 128 Index: sys/arch/amiga/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/amiga/include/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- sys/arch/amiga/include/Makefile 19 May 2009 18:39:26 -0000 1.24 +++ sys/arch/amiga/include/Makefile 11 Jul 2011 18:19:43 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/amiga/include/stdarg.h =================================================================== RCS file: sys/arch/amiga/include/stdarg.h diff -N sys/arch/amiga/include/stdarg.h --- sys/arch/amiga/include/stdarg.h 22 Jan 1999 14:12:07 -0000 1.9 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.9 1999/01/22 14:12:07 mycroft Exp $ */ - -#include Index: sys/arch/amiga/include/varargs.h =================================================================== RCS file: sys/arch/amiga/include/varargs.h diff -N sys/arch/amiga/include/varargs.h --- sys/arch/amiga/include/varargs.h 26 Oct 1994 02:06:46 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -/* $NetBSD: varargs.h,v 1.6 1994/10/26 02:06:46 cgd Exp $ */ - -/* Just use the common m68k definition */ -#include Index: sys/arch/amigappc/amigappc/machdep.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/amigappc/amigappc/machdep.c,v retrieving revision 1.47 diff -u -p -r1.47 machdep.c --- sys/arch/amigappc/amigappc/machdep.c 19 Dec 2010 14:46:10 -0000 1.47 +++ sys/arch/amigappc/amigappc/machdep.c 11 Jul 2011 21:34:11 -0000 @@ -47,7 +47,6 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v #include #include -#include #include #include Index: sys/arch/amigappc/include/stdarg.h =================================================================== RCS file: sys/arch/amigappc/include/stdarg.h diff -N sys/arch/amigappc/include/stdarg.h --- sys/arch/amigappc/include/stdarg.h 25 May 2000 22:12:01 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2000/05/25 22:12:01 is Exp $ */ - -#include Index: sys/arch/amigappc/include/varargs.h =================================================================== RCS file: sys/arch/amigappc/include/varargs.h diff -N sys/arch/amigappc/include/varargs.h --- sys/arch/amigappc/include/varargs.h 25 May 2000 22:12:01 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2000/05/25 22:12:01 is Exp $ */ - -#include Index: sys/arch/arc/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/arc/include/Makefile,v retrieving revision 1.30 diff -u -p -r1.30 Makefile --- sys/arch/arc/include/Makefile 12 Aug 2009 23:29:18 -0000 1.30 +++ sys/arch/arc/include/Makefile 11 Jul 2011 18:20:08 -0000 @@ -18,9 +18,9 @@ INCS= ansi.h asm.h \ param.h pcb.h pccons.h pmap.h pmc.h proc.h profile.h psl.h pte.h \ ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/arc/include/stdarg.h =================================================================== RCS file: sys/arch/arc/include/stdarg.h diff -N sys/arch/arc/include/stdarg.h --- sys/arch/arc/include/stdarg.h 4 Sep 2001 07:12:28 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.5 2001/09/04 07:12:28 simonb Exp $ */ - -#include Index: sys/arch/arc/include/varargs.h =================================================================== RCS file: sys/arch/arc/include/varargs.h diff -N sys/arch/arc/include/varargs.h --- sys/arch/arc/include/varargs.h 4 Sep 2001 07:12:28 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.5 2001/09/04 07:12:28 simonb Exp $ */ - -#include Index: sys/arch/arc/stand/boot/disk.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/arc/stand/boot/disk.c,v retrieving revision 1.5 diff -u -p -r1.5 disk.c --- sys/arch/arc/stand/boot/disk.c 20 Feb 2011 07:52:43 -0000 1.5 +++ sys/arch/arc/stand/boot/disk.c 11 Jul 2011 21:39:07 -0000 @@ -35,7 +35,6 @@ */ #include -#include #include #include Index: sys/arch/arm/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/arm/include/Makefile,v retrieving revision 1.38 diff -u -p -r1.38 Makefile --- sys/arch/arm/include/Makefile 25 Jun 2008 03:33:39 -0000 1.38 +++ sys/arch/arm/include/Makefile 11 Jul 2011 18:20:21 -0000 @@ -16,9 +16,8 @@ INCS= ansi.h aout_machdep.h armreg.h asm param.h pcb.h pmc.h proc.h profile.h rwlock.h \ ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h swi.h sysarch.h \ + setjmp.h signal.h swi.h sysarch.h \ trap.h types.h \ - varargs.h \ wchar_limits.h .include Index: sys/arch/arm/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/arm/include/ansi.h,v retrieving revision 1.12 diff -u -p -r1.12 ansi.h --- sys/arch/arm/include/ansi.h 27 Mar 2010 22:14:09 -0000 1.12 +++ sys/arch/arm/include/ansi.h 11 Jul 2011 18:43:23 -0000 @@ -52,11 +52,6 @@ #define _BSD_SIZE_T_ unsigned long int /* sizeof() */ #define _BSD_SSIZE_T_ long int /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(2, 96) -#define _BSD_VA_LIST_ __builtin_va_list /* GCC built-in type */ -#else -#define _BSD_VA_LIST_ char * /* va_list */ -#endif #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/arm/include/stdarg.h =================================================================== RCS file: sys/arch/arm/include/stdarg.h diff -N sys/arch/arm/include/stdarg.h --- sys/arch/arm/include/stdarg.h 1 Jul 2011 01:26:38 -0000 1.11 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,86 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.11 2011/07/01 01:26:38 mrg Exp $ */ - -/* - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * from: @(#)stdarg.h 8.1 (Berkeley) 6/10/93 - */ - -#ifndef _ARM32_STDARG_H_ -#define _ARM32_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; -#ifdef __lint__ -#define __builtin_next_arg(t) ((t) ? 0 : 0) -#define __builtin_stdarg_start(a, l) ((a) = ((l) ? 0 : 0)) -#define __builtin_va_start(a, l) ((a) = ((l) ? 0 : 0)) -#define __builtin_va_arg(a, t) ((t)((a) ? 0 : 0)) -#define __builtin_va_end /* nothing */ -#define __builtin_va_copy(d, s) ((d) = (s)) -#endif - -#if __GNUC_PREREQ__(2, 96) -#if __GNUC_PREREQ__(4, 5) -#define va_start(ap, last) __builtin_va_start((ap), (last)) -#else -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#endif -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) -#elif defined(__PCC__) -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) -#else -#define __va_size(type) \ - (((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long)) - -#define va_start(ap, last) \ - ((ap) = (va_list)__builtin_next_arg(last)) - -#define va_arg(ap, type) \ - ((type *)(ap += sizeof(type)))[-1] - -#define va_end(ap) - -#define __va_copy(dest, src) ((dest) = (src)) - -#endif /* __GNUC_PREREQ__(2, 96) */ - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy((dest), (src)) -#endif - -#endif /* !_ARM32_STDARG_H_ */ Index: sys/arch/arm/include/varargs.h =================================================================== RCS file: sys/arch/arm/include/varargs.h diff -N sys/arch/arm/include/varargs.h --- sys/arch/arm/include/varargs.h 11 Dec 2005 12:16:47 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,67 +0,0 @@ -/* $NetBSD: varargs.h,v 1.5 2005/12/11 12:16:47 christos Exp $ */ - -/* - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * from: @(#)varargs.h 8.2 (Berkeley) 3/22/94 - */ - -#ifndef _ARM32_VARARGS_H_ -#define _ARM32_VARARGS_H_ - -#include - -#if !__GNUC_PREREQ__(2, 0) -#define __va_ellipsis -#else -#define __va_ellipsis ... -#endif - -#if __GNUC_PREREQ__(2, 96) -#define __va_alist_t __builtin_va_alist_t -#else -#define __va_alist_t long -#endif - -#define va_alist __builtin_va_alist -#define va_dcl __va_alist_t __builtin_va_alist; __va_ellipsis - -#undef va_start -#if __GNUC_PREREQ__(2, 96) -#define va_start(ap) __builtin_varargs_start((ap)) -#else -#define va_start(ap) \ - ((ap) = (va_list)&__builtin_va_alist) -#endif - -#endif /* !_ARM32_VARARGS_H_ */ Index: sys/arch/arm/ofw/openfirm.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/arm/ofw/openfirm.c,v retrieving revision 1.8 diff -u -p -r1.8 openfirm.c --- sys/arch/arm/ofw/openfirm.c 18 Mar 2009 10:22:24 -0000 1.8 +++ sys/arch/arm/ofw/openfirm.c 11 Jul 2011 21:34:13 -0000 @@ -69,8 +69,6 @@ __KERNEL_RCSID(0, "$NetBSD: openfirm.c,v #include -#include - #include Index: sys/arch/atari/dev/atari5380.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/atari/dev/atari5380.c,v retrieving revision 1.57 diff -u -p -r1.57 atari5380.c --- sys/arch/atari/dev/atari5380.c 5 Jun 2011 06:33:42 -0000 1.57 +++ sys/arch/atari/dev/atari5380.c 11 Jul 2011 21:36:46 -0000 @@ -53,7 +53,6 @@ __KERNEL_RCSID(0, "$NetBSD: atari5380.c, */ #include -#include #include #include #include Index: sys/arch/atari/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/atari/include/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- sys/arch/atari/include/Makefile 9 Feb 2007 21:55:02 -0000 1.24 +++ sys/arch/atari/include/Makefile 11 Jul 2011 18:21:01 -0000 @@ -15,9 +15,9 @@ INCS= ahdilabel.h ansi.h aout_machdep.h math.h mcontext.h msioctl.h mtpr.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/atari/include/stdarg.h =================================================================== RCS file: sys/arch/atari/include/stdarg.h diff -N sys/arch/atari/include/stdarg.h --- sys/arch/atari/include/stdarg.h 22 Jan 1999 14:12:07 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.2 1999/01/22 14:12:07 mycroft Exp $ */ - -#include Index: sys/arch/atari/include/varargs.h =================================================================== RCS file: sys/arch/atari/include/varargs.h diff -N sys/arch/atari/include/varargs.h --- sys/arch/atari/include/varargs.h 26 Mar 1995 07:12:06 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1.1.1 1995/03/26 07:12:06 leo Exp $ */ - -/* Just use the common m68k definition */ -#include Index: sys/arch/atari/stand/tostools/libtos/libtos.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/atari/stand/tostools/libtos/libtos.h,v retrieving revision 1.5 diff -u -p -r1.5 libtos.h --- sys/arch/atari/stand/tostools/libtos/libtos.h 6 Jan 2009 13:35:30 -0000 1.5 +++ sys/arch/atari/stand/tostools/libtos/libtos.h 11 Jul 2011 18:49:04 -0000 @@ -54,8 +54,8 @@ #include #define VA_LIST va_list #else -#include -#define VA_LIST _BSD_VA_LIST_ +#include +#define VA_LIST va_list #endif #ifndef int8_t Index: sys/arch/bebox/include/stdarg.h =================================================================== RCS file: sys/arch/bebox/include/stdarg.h diff -N sys/arch/bebox/include/stdarg.h --- sys/arch/bebox/include/stdarg.h 28 May 1998 08:45:01 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.2 1998/05/28 08:45:01 sakamoto Exp $ */ - -#include Index: sys/arch/bebox/include/varargs.h =================================================================== RCS file: sys/arch/bebox/include/varargs.h diff -N sys/arch/bebox/include/varargs.h --- sys/arch/bebox/include/varargs.h 28 May 1998 08:45:02 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.2 1998/05/28 08:45:02 sakamoto Exp $ */ - -#include Index: sys/arch/bebox/stand/boot/sd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/bebox/stand/boot/sd.c,v retrieving revision 1.1 diff -u -p -r1.1 sd.c --- sys/arch/bebox/stand/boot/sd.c 14 Oct 2010 06:58:22 -0000 1.1 +++ sys/arch/bebox/stand/boot/sd.c 11 Jul 2011 21:39:05 -0000 @@ -33,7 +33,6 @@ #include #include -#include #include "boot.h" #include "sdvar.h" Index: sys/arch/bebox/stand/boot/wd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/bebox/stand/boot/wd.c,v retrieving revision 1.1 diff -u -p -r1.1 wd.c --- sys/arch/bebox/stand/boot/wd.c 14 Oct 2010 06:50:43 -0000 1.1 +++ sys/arch/bebox/stand/boot/wd.c 11 Jul 2011 21:39:03 -0000 @@ -37,7 +37,6 @@ #include #include -#include #include /* For RF_PROTECTED_SECTORS */ #include "boot.h" Index: sys/arch/cats/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/cats/include/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- sys/arch/cats/include/Makefile 19 Jan 2008 13:11:12 -0000 1.22 +++ sys/arch/cats/include/Makefile 11 Jul 2011 18:21:26 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h INCS+= joystick.h Index: sys/arch/cats/include/stdarg.h =================================================================== RCS file: sys/arch/cats/include/stdarg.h diff -N sys/arch/cats/include/stdarg.h --- sys/arch/cats/include/stdarg.h 25 Nov 2001 15:55:58 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.3 2001/11/25 15:55:58 thorpej Exp $ */ - -#include Index: sys/arch/cats/include/varargs.h =================================================================== RCS file: sys/arch/cats/include/varargs.h diff -N sys/arch/cats/include/varargs.h --- sys/arch/cats/include/varargs.h 25 Nov 2001 15:55:58 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.3 2001/11/25 15:55:58 thorpej Exp $ */ - -#include Index: sys/arch/cesfic/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/cesfic/include/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- sys/arch/cesfic/include/Makefile 9 Feb 2007 21:55:02 -0000 1.9 +++ sys/arch/cesfic/include/Makefile 11 Jul 2011 18:21:40 -0000 @@ -14,8 +14,8 @@ INCS= ansi.h aout_machdep.h asm.h \ limits.h lock.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ - reg.h rwlock.h setjmp.h signal.h stdarg.h trap.h types.h \ - varargs.h vmparam.h \ + reg.h rwlock.h setjmp.h signal.h trap.h types.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/cesfic/include/stdarg.h =================================================================== RCS file: sys/arch/cesfic/include/stdarg.h diff -N sys/arch/cesfic/include/stdarg.h --- sys/arch/cesfic/include/stdarg.h 14 May 2001 18:23:15 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2001/05/14 18:23:15 drochner Exp $ */ - -#include Index: sys/arch/cesfic/include/varargs.h =================================================================== RCS file: sys/arch/cesfic/include/varargs.h diff -N sys/arch/cesfic/include/varargs.h --- sys/arch/cesfic/include/varargs.h 14 May 2001 18:23:15 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2001/05/14 18:23:15 drochner Exp $ */ - -#include Index: sys/arch/cobalt/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/cobalt/include/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- sys/arch/cobalt/include/Makefile 12 Aug 2009 23:29:18 -0000 1.19 +++ sys/arch/cobalt/include/Makefile 11 Jul 2011 18:21:51 -0000 @@ -17,9 +17,9 @@ INCS= ansi.h asm.h autoconf.h \ nvram.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/cobalt/include/stdarg.h =================================================================== RCS file: sys/arch/cobalt/include/stdarg.h diff -N sys/arch/cobalt/include/stdarg.h --- sys/arch/cobalt/include/stdarg.h 19 Mar 2000 23:07:48 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2000/03/19 23:07:48 soren Exp $ */ - -#include Index: sys/arch/cobalt/include/varargs.h =================================================================== RCS file: sys/arch/cobalt/include/varargs.h diff -N sys/arch/cobalt/include/varargs.h --- sys/arch/cobalt/include/varargs.h 19 Mar 2000 23:07:48 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2000/03/19 23:07:48 soren Exp $ */ - -#include Index: sys/arch/cobalt/stand/boot/wd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/cobalt/stand/boot/wd.c,v retrieving revision 1.14 diff -u -p -r1.14 wd.c --- sys/arch/cobalt/stand/boot/wd.c 7 Jul 2011 06:01:51 -0000 1.14 +++ sys/arch/cobalt/stand/boot/wd.c 11 Jul 2011 21:39:01 -0000 @@ -37,7 +37,6 @@ #include #include -#include #include /* For RF_PROTECTED_SECTORS */ #include "boot.h" Index: sys/arch/dreamcast/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/dreamcast/include/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- sys/arch/dreamcast/include/Makefile 9 Feb 2007 21:55:02 -0000 1.16 +++ sys/arch/dreamcast/include/Makefile 11 Jul 2011 18:22:02 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/dreamcast/include/stdarg.h =================================================================== RCS file: sys/arch/dreamcast/include/stdarg.h diff -N sys/arch/dreamcast/include/stdarg.h --- sys/arch/dreamcast/include/stdarg.h 11 Dec 2000 18:19:16 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,7 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2000/12/11 18:19:16 marcus Exp $ */ -#ifndef _DREAMCAST_STDARG_H_ -#define _DREAMCAST_STDARG_H_ - -#include - -#endif /* _DREAMCAST_STDARG_H_ */ Index: sys/arch/dreamcast/include/varargs.h =================================================================== RCS file: sys/arch/dreamcast/include/varargs.h diff -N sys/arch/dreamcast/include/varargs.h --- sys/arch/dreamcast/include/varargs.h 11 Dec 2000 18:19:16 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,7 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2000/12/11 18:19:16 marcus Exp $ */ -#ifndef _DREAMCAST_VARARGS_H_ -#define _DREAMCAST_VARARGS_H_ - -#include - -#endif /* _DREAMCAST_VARARGS_H_ */ Index: sys/arch/emips/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/emips/include/Makefile,v retrieving revision 1.1 diff -u -p -r1.1 Makefile --- sys/arch/emips/include/Makefile 26 Jan 2011 01:18:51 -0000 1.1 +++ sys/arch/emips/include/Makefile 11 Jul 2011 18:22:15 -0000 @@ -17,9 +17,9 @@ INCS= ansi.h asm.h autoconf.h \ param.h pcb.h pmap.h pmc.h \ proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/emips/include/stdarg.h =================================================================== RCS file: sys/arch/emips/include/stdarg.h diff -N sys/arch/emips/include/stdarg.h --- sys/arch/emips/include/stdarg.h 26 Jan 2011 01:18:52 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2011/01/26 01:18:52 pooka Exp $ */ - -#include Index: sys/arch/emips/include/varargs.h =================================================================== RCS file: sys/arch/emips/include/varargs.h diff -N sys/arch/emips/include/varargs.h --- sys/arch/emips/include/varargs.h 26 Jan 2011 01:18:52 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2011/01/26 01:18:52 pooka Exp $ */ - -#include Index: sys/arch/emips/stand/common/ace.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/emips/stand/common/ace.c,v retrieving revision 1.1 diff -u -p -r1.1 ace.c --- sys/arch/emips/stand/common/ace.c 26 Jan 2011 01:18:54 -0000 1.1 +++ sys/arch/emips/stand/common/ace.c 11 Jul 2011 21:38:58 -0000 @@ -57,7 +57,6 @@ #include #include -#include #include #include Index: sys/arch/emips/stand/common/printf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/emips/stand/common/printf.c,v retrieving revision 1.1 diff -u -p -r1.1 printf.c --- sys/arch/emips/stand/common/printf.c 26 Jan 2011 01:18:54 -0000 1.1 +++ sys/arch/emips/stand/common/printf.c 11 Jul 2011 21:38:40 -0000 @@ -17,7 +17,7 @@ * $FreeBSD: src/sys/boot/mips/emips/libemips/printf.c,v 1.2 2006/10/20 09:12:05 imp Exp $ */ -#include +#include void xputchar(int ch) Index: sys/arch/emips/stand/common/raw.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/emips/stand/common/raw.c,v retrieving revision 1.1 diff -u -p -r1.1 raw.c --- sys/arch/emips/stand/common/raw.c 26 Jan 2011 01:18:54 -0000 1.1 +++ sys/arch/emips/stand/common/raw.c 11 Jul 2011 21:38:25 -0000 @@ -32,7 +32,6 @@ #include #include -#include #include #include Index: sys/arch/evbarm/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/evbarm/include/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- sys/arch/evbarm/include/Makefile 19 Jan 2008 13:11:15 -0000 1.15 +++ sys/arch/evbarm/include/Makefile 11 Jul 2011 18:22:26 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h INCS+= joystick.h Index: sys/arch/evbarm/include/stdarg.h =================================================================== RCS file: sys/arch/evbarm/include/stdarg.h diff -N sys/arch/evbarm/include/stdarg.h --- sys/arch/evbarm/include/stdarg.h 25 Nov 2001 15:56:05 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2001/11/25 15:56:05 thorpej Exp $ */ - -#include Index: sys/arch/evbarm/include/varargs.h =================================================================== RCS file: sys/arch/evbarm/include/varargs.h diff -N sys/arch/evbarm/include/varargs.h --- sys/arch/evbarm/include/varargs.h 25 Nov 2001 15:56:06 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2001/11/25 15:56:06 thorpej Exp $ */ - -#include Index: sys/arch/evbmips/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/evbmips/include/Makefile,v retrieving revision 1.12 diff -u -p -r1.12 Makefile --- sys/arch/evbmips/include/Makefile 12 Aug 2009 23:29:19 -0000 1.12 +++ sys/arch/evbmips/include/Makefile 11 Jul 2011 18:22:37 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h asm.h \ param.h pcb.h \ pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/evbmips/include/stdarg.h =================================================================== RCS file: sys/arch/evbmips/include/stdarg.h diff -N sys/arch/evbmips/include/stdarg.h --- sys/arch/evbmips/include/stdarg.h 7 Mar 2002 14:44:02 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2002/03/07 14:44:02 simonb Exp $ */ - -#include Index: sys/arch/evbmips/include/varargs.h =================================================================== RCS file: sys/arch/evbmips/include/varargs.h diff -N sys/arch/evbmips/include/varargs.h --- sys/arch/evbmips/include/varargs.h 7 Mar 2002 14:44:02 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2002/03/07 14:44:02 simonb Exp $ */ - -#include Index: sys/arch/evbppc/include/stdarg.h =================================================================== RCS file: sys/arch/evbppc/include/stdarg.h diff -N sys/arch/evbppc/include/stdarg.h --- sys/arch/evbppc/include/stdarg.h 9 Dec 2002 12:16:17 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2002/12/09 12:16:17 scw Exp $ */ - -#include Index: sys/arch/evbppc/include/varargs.h =================================================================== RCS file: sys/arch/evbppc/include/varargs.h diff -N sys/arch/evbppc/include/varargs.h --- sys/arch/evbppc/include/varargs.h 9 Dec 2002 12:16:19 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2002/12/09 12:16:19 scw Exp $ */ - -#include Index: sys/arch/evbppc/mpc85xx/machdep.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/evbppc/mpc85xx/machdep.c,v retrieving revision 1.16 diff -u -p -r1.16 machdep.c --- sys/arch/evbppc/mpc85xx/machdep.c 1 Jul 2011 07:44:33 -0000 1.16 +++ sys/arch/evbppc/mpc85xx/machdep.c 12 Jul 2011 14:02:12 -0000 @@ -66,8 +66,6 @@ __KERNEL_RCSID(0, "$NetSBD$"); #include -#include - #include #include Index: sys/arch/evbsh3/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/evbsh3/include/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- sys/arch/evbsh3/include/Makefile 9 Feb 2007 21:55:03 -0000 1.24 +++ sys/arch/evbsh3/include/Makefile 11 Jul 2011 18:23:39 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/evbsh3/include/stdarg.h =================================================================== RCS file: sys/arch/evbsh3/include/stdarg.h diff -N sys/arch/evbsh3/include/stdarg.h --- sys/arch/evbsh3/include/stdarg.h 13 Sep 1999 10:30:44 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,7 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 1999/09/13 10:30:44 itojun Exp $ */ -#ifndef _EVBSH3_STDARG_H_ -#define _EVBSH3_STDARG_H_ - -#include - -#endif /* _EVBSH3_STDARG_H_ */ Index: sys/arch/evbsh3/include/varargs.h =================================================================== RCS file: sys/arch/evbsh3/include/varargs.h diff -N sys/arch/evbsh3/include/varargs.h --- sys/arch/evbsh3/include/varargs.h 13 Sep 1999 10:30:45 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,7 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 1999/09/13 10:30:45 itojun Exp $ */ -#ifndef _EVBSH3_VARARGS_H_ -#define _EVBSH3_VARARGS_H_ - -#include - -#endif /* _EVBSH3_VARARGS_H_ */ Index: sys/arch/ews4800mips/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/ews4800mips/include/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- sys/arch/ews4800mips/include/Makefile 8 Mar 2007 15:39:42 -0000 1.4 +++ sys/arch/ews4800mips/include/Makefile 11 Jul 2011 18:24:05 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h aout_machdep.h asm.h \ param.h pcb.h pdinfo.h pmap.h pmc.h proc.h profile.h psl.h pte.h \ ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h vtoc.h \ + vmparam.h vtoc.h \ wchar_limits.h .include Index: sys/arch/ews4800mips/include/stdarg.h =================================================================== RCS file: sys/arch/ews4800mips/include/stdarg.h diff -N sys/arch/ews4800mips/include/stdarg.h --- sys/arch/ews4800mips/include/stdarg.h 29 Dec 2005 15:20:09 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2005/12/29 15:20:09 tsutsui Exp $ */ - -#include Index: sys/arch/ews4800mips/include/varargs.h =================================================================== RCS file: sys/arch/ews4800mips/include/varargs.h diff -N sys/arch/ews4800mips/include/varargs.h --- sys/arch/ews4800mips/include/varargs.h 29 Dec 2005 15:20:09 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2005/12/29 15:20:09 tsutsui Exp $ */ - -#include Index: sys/arch/hp300/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hp300/include/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- sys/arch/hp300/include/Makefile 4 Mar 2007 09:57:43 -0000 1.25 +++ sys/arch/hp300/include/Makefile 11 Jul 2011 18:24:17 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/hp300/include/stdarg.h =================================================================== RCS file: sys/arch/hp300/include/stdarg.h diff -N sys/arch/hp300/include/stdarg.h --- sys/arch/hp300/include/stdarg.h 22 Jan 1999 14:12:07 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.5 1999/01/22 14:12:07 mycroft Exp $ */ - -#include Index: sys/arch/hp300/include/varargs.h =================================================================== RCS file: sys/arch/hp300/include/varargs.h diff -N sys/arch/hp300/include/varargs.h --- sys/arch/hp300/include/varargs.h 26 Oct 1994 07:26:50 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -/* $NetBSD: varargs.h,v 1.2 1994/10/26 07:26:50 cgd Exp $ */ - -/* Just use the common m68k definition */ -#include Index: sys/arch/hp300/stand/common/ct.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hp300/stand/common/ct.c,v retrieving revision 1.6 diff -u -p -r1.6 ct.c --- sys/arch/hp300/stand/common/ct.c 25 Jun 2006 17:37:43 -0000 1.6 +++ sys/arch/hp300/stand/common/ct.c 11 Jul 2011 21:38:22 -0000 @@ -36,8 +36,6 @@ */ #include -#include - #include #include Index: sys/arch/hp300/stand/common/netio.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hp300/stand/common/netio.c,v retrieving revision 1.13 diff -u -p -r1.13 netio.c --- sys/arch/hp300/stand/common/netio.c 21 Oct 2009 23:12:09 -0000 1.13 +++ sys/arch/hp300/stand/common/netio.c 11 Jul 2011 21:38:19 -0000 @@ -75,8 +75,6 @@ #include #include -#include - #include #include #include Index: sys/arch/hp300/stand/common/rd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hp300/stand/common/rd.c,v retrieving revision 1.9 diff -u -p -r1.9 rd.c --- sys/arch/hp300/stand/common/rd.c 8 Feb 2011 20:20:14 -0000 1.9 +++ sys/arch/hp300/stand/common/rd.c 11 Jul 2011 21:38:17 -0000 @@ -44,8 +44,6 @@ #include #include -#include - #include #include Index: sys/arch/hp300/stand/common/sd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hp300/stand/common/sd.c,v retrieving revision 1.10 diff -u -p -r1.10 sd.c --- sys/arch/hp300/stand/common/sd.c 8 Feb 2011 20:20:14 -0000 1.10 +++ sys/arch/hp300/stand/common/sd.c 11 Jul 2011 21:38:14 -0000 @@ -45,8 +45,6 @@ #include #include -#include - #include #include Index: sys/arch/hp700/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hp700/include/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- sys/arch/hp700/include/Makefile 9 Feb 2007 21:55:03 -0000 1.10 +++ sys/arch/hp700/include/Makefile 11 Jul 2011 18:24:28 -0000 @@ -17,9 +17,9 @@ INCS= ansi.h aout_machdep.h asm.h autoco param.h pcb.h pdc.h pmap.h pmc.h \ proc.h profile.h psl.h pte.h ptrace.h \ reg.h reloc.h rwlock.h \ - setjmp.h signal.h som.h stdarg.h \ + setjmp.h signal.h som.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/hp700/include/stdarg.h =================================================================== RCS file: sys/arch/hp700/include/stdarg.h diff -N sys/arch/hp700/include/stdarg.h --- sys/arch/hp700/include/stdarg.h 6 Jun 2002 19:48:10 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2002/06/06 19:48:10 fredette Exp $ */ - -#include Index: sys/arch/hp700/include/varargs.h =================================================================== RCS file: sys/arch/hp700/include/varargs.h diff -N sys/arch/hp700/include/varargs.h --- sys/arch/hp700/include/varargs.h 6 Jun 2002 19:48:10 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2002/06/06 19:48:10 fredette Exp $ */ - -#include Index: sys/arch/hpc/stand/include/machine/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hpc/stand/include/machine/ansi.h,v retrieving revision 1.1 diff -u -p -r1.1 ansi.h --- sys/arch/hpc/stand/include/machine/ansi.h 9 Feb 2001 18:35:21 -0000 1.1 +++ sys/arch/hpc/stand/include/machine/ansi.h 11 Jul 2011 18:49:16 -0000 @@ -7,7 +7,6 @@ #define _BSD_CLOCK_T_ unsigned int /* clock() */ #define _BSD_PTRDIFF_T_ int /* ptr1 - ptr2 */ #define _BSD_SSIZE_T_ int /* byte count or error */ -#define _BSD_VA_LIST_ char * /* va_list */ #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/hpcarm/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hpcarm/include/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- sys/arch/hpcarm/include/Makefile 19 Jan 2008 13:11:17 -0000 1.25 +++ sys/arch/hpcarm/include/Makefile 11 Jul 2011 18:24:45 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h apmvar.h aout_machdep.h asm math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/hpcarm/include/stdarg.h =================================================================== RCS file: sys/arch/hpcarm/include/stdarg.h diff -N sys/arch/hpcarm/include/stdarg.h --- sys/arch/hpcarm/include/stdarg.h 23 Feb 2001 03:48:19 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2001/02/23 03:48:19 ichiro Exp $ */ - -#include Index: sys/arch/hpcarm/include/varargs.h =================================================================== RCS file: sys/arch/hpcarm/include/varargs.h diff -N sys/arch/hpcarm/include/varargs.h --- sys/arch/hpcarm/include/varargs.h 23 Feb 2001 03:48:19 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2001/02/23 03:48:19 ichiro Exp $ */ - -#include Index: sys/arch/hpcmips/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hpcmips/include/Makefile,v retrieving revision 1.21 diff -u -p -r1.21 Makefile --- sys/arch/hpcmips/include/Makefile 12 Aug 2009 23:29:19 -0000 1.21 +++ sys/arch/hpcmips/include/Makefile 11 Jul 2011 18:24:55 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h apmvar.h asm.h autoconf.h \ math.h mcontext.h mips_opcode.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h sysconf.h \ + setjmp.h signal.h sysconf.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/hpcmips/include/stdarg.h =================================================================== RCS file: sys/arch/hpcmips/include/stdarg.h diff -N sys/arch/hpcmips/include/stdarg.h --- sys/arch/hpcmips/include/stdarg.h 16 Sep 1999 12:23:24 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1.1.1 1999/09/16 12:23:24 takemura Exp $ */ - -#include Index: sys/arch/hpcmips/include/varargs.h =================================================================== RCS file: sys/arch/hpcmips/include/varargs.h diff -N sys/arch/hpcmips/include/varargs.h --- sys/arch/hpcmips/include/varargs.h 16 Sep 1999 12:23:24 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1.1.1 1999/09/16 12:23:24 takemura Exp $ */ - -#include Index: sys/arch/hpcmips/stand/lcboot/dev_flash.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hpcmips/stand/lcboot/dev_flash.c,v retrieving revision 1.5 diff -u -p -r1.5 dev_flash.c --- sys/arch/hpcmips/stand/lcboot/dev_flash.c 26 Oct 2009 19:16:55 -0000 1.5 +++ sys/arch/hpcmips/stand/lcboot/dev_flash.c 11 Jul 2011 21:38:11 -0000 @@ -30,7 +30,6 @@ __KERNEL_RCSID(0, "$NetBSD: dev_flash.c, #include #include -#include #include "extern.h" Index: sys/arch/hpcmips/stand/lcboot/dev_net.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hpcmips/stand/lcboot/dev_net.c,v retrieving revision 1.3 diff -u -p -r1.3 dev_net.c --- sys/arch/hpcmips/stand/lcboot/dev_net.c 11 Dec 2005 12:17:34 -0000 1.3 +++ sys/arch/hpcmips/stand/lcboot/dev_net.c 11 Jul 2011 21:38:10 -0000 @@ -35,7 +35,6 @@ __KERNEL_RCSID(0, "$NetBSD: dev_net.c,v #include #include #include -#include #include "extern.h" Index: sys/arch/hpcsh/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hpcsh/include/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- sys/arch/hpcsh/include/Makefile 9 Feb 2007 21:55:04 -0000 1.17 +++ sys/arch/hpcsh/include/Makefile 11 Jul 2011 18:25:07 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h apmvar.h asm math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/hpcsh/include/stdarg.h =================================================================== RCS file: sys/arch/hpcsh/include/stdarg.h diff -N sys/arch/hpcsh/include/stdarg.h --- sys/arch/hpcsh/include/stdarg.h 28 Jan 2001 03:31:32 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,7 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.2 2001/01/28 03:31:32 uch Exp $ */ -#ifndef _HPCSH_STDARG_H_ -#define _HPCSH_STDARG_H_ - -#include - -#endif /* _HPCSH_STDARG_H_ */ Index: sys/arch/hpcsh/include/varargs.h =================================================================== RCS file: sys/arch/hpcsh/include/varargs.h diff -N sys/arch/hpcsh/include/varargs.h --- sys/arch/hpcsh/include/varargs.h 28 Jan 2001 03:31:32 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,7 +0,0 @@ -/* $NetBSD: varargs.h,v 1.2 2001/01/28 03:31:32 uch Exp $ */ -#ifndef _HPCSH_VARARGS_H_ -#define _HPCSH_VARARGS_H_ - -#include - -#endif /* _HPCSH_VARARGS_H_ */ Index: sys/arch/hppa/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hppa/include/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- sys/arch/hppa/include/Makefile 9 Feb 2007 21:55:04 -0000 1.9 +++ sys/arch/hppa/include/Makefile 11 Jul 2011 18:25:18 -0000 @@ -14,9 +14,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h reloc.h rwlock.h \ - setjmp.h signal.h som.h stdarg.h \ + setjmp.h signal.h som.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/hppa/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/hppa/include/ansi.h,v retrieving revision 1.12 diff -u -p -r1.12 ansi.h --- sys/arch/hppa/include/ansi.h 27 Mar 2010 22:14:09 -0000 1.12 +++ sys/arch/hppa/include/ansi.h 11 Jul 2011 18:43:30 -0000 @@ -53,11 +53,6 @@ #define _BSD_SIZE_T_ unsigned long int /* sizeof() */ #define _BSD_SSIZE_T_ long int /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(2, 96) -#define _BSD_VA_LIST_ __builtin_va_list /* GCC built-in type */ -#else -#define _BSD_VA_LIST_ double * /* va_list */ -#endif #define _BSD_CLOCKID_T_ int #define _BSD_TIMER_T_ int #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/hppa/include/stdarg.h =================================================================== RCS file: sys/arch/hppa/include/stdarg.h diff -N sys/arch/hppa/include/stdarg.h --- sys/arch/hppa/include/stdarg.h 7 Jul 2011 01:27:13 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,68 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.6 2011/07/07 01:27:13 mrg Exp $ */ - -/* $OpenBSD: stdarg.h,v 1.2 1998/11/23 03:28:23 mickey Exp $ */ - -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)stdarg.h 8.1 (Berkeley) 6/10/93 - */ - -#ifndef _HPPA_STDARG_H_ -#define _HPPA_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ -#define __builtin_next_arg(t) ((t) ? 0 : 0) -#define __builtin_stdarg_start(a, l) ((a) = (va_list)(void *)&(l)) -#define __builtin_va_start(a, l) ((a) = (va_list)(void *)&(l)) -#define __builtin_va_arg(a, t) ((a) ? (t) 0 : (t) 0) -#define __builtin_va_end(a) /* nothing */ -#define __builtin_va_copy(d, s) ((d) = (s)) -#endif /* __lint__ */ - -#if __GNUC_PREREQ__(4, 5) -#define va_start(ap, last) __builtin_va_start((ap), (last)) -#else -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#endif -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy((dest), (src)) -#endif - -#endif /* !_HPPA_STDARG_H */ Index: sys/arch/hppa/include/varargs.h =================================================================== RCS file: sys/arch/hppa/include/varargs.h diff -N sys/arch/hppa/include/varargs.h --- sys/arch/hppa/include/varargs.h 11 Dec 2005 12:17:37 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,57 +0,0 @@ -/* $NetBSD: varargs.h,v 1.3 2005/12/11 12:17:37 christos Exp $ */ - -/*- - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)varargs.h 8.2 (Berkeley) 3/22/94 - */ - -#ifndef _HPPA_VARARGS_H_ -#define _HPPA_VARARGS_H_ - -#include - -#if __GNUC__ == 1 -#define __va_ellipsis -#else -#define __va_ellipsis ... -#endif - -#define va_alist __builtin_va_alist -#define va_dcl long __builtin_va_alist; __va_ellipsis - -#undef va_start -#define va_start(ap) \ - ((ap) = (va_list)__builtin_saveregs()) - -#endif /* !_HPPA_VARARGS_H_ */ Index: sys/arch/i386/i386/apmbios.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/i386/i386/apmbios.c,v retrieving revision 1.18 diff -u -p -r1.18 apmbios.c --- sys/arch/i386/i386/apmbios.c 26 Apr 2011 15:51:23 -0000 1.18 +++ sys/arch/i386/i386/apmbios.c 11 Jul 2011 21:36:48 -0000 @@ -60,7 +60,6 @@ __KERNEL_RCSID(0, "$NetBSD: apmbios.c,v #include -#include #include #include #include Index: sys/arch/i386/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/i386/include/Makefile,v retrieving revision 1.37 diff -u -p -r1.37 Makefile --- sys/arch/i386/include/Makefile 31 Jul 2010 21:47:54 -0000 1.37 +++ sys/arch/i386/include/Makefile 11 Jul 2011 18:25:27 -0000 @@ -20,10 +20,10 @@ INCS= ansi.h aout_machdep.h apmvar.h asm param.h pcb.h pio.h pmap.h pmc.h proc.h profile.h psl.h \ pte.h ptrace.h \ reg.h rwlock.h \ - segments.h setjmp.h signal.h specialreg.h spkr.h stdarg.h \ + segments.h setjmp.h signal.h specialreg.h spkr.h \ svr4_machdep.h sysarch.h \ trap.h tss.h types.h \ - varargs.h vm86.h vmparam.h \ + vm86.h vmparam.h \ wchar_limits.h .include Index: sys/arch/i386/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/i386/include/ansi.h,v retrieving revision 1.24 diff -u -p -r1.24 ansi.h --- sys/arch/i386/include/ansi.h 27 Mar 2010 22:14:09 -0000 1.24 +++ sys/arch/i386/include/ansi.h 11 Jul 2011 18:43:37 -0000 @@ -52,11 +52,6 @@ #define _BSD_SIZE_T_ unsigned int /* sizeof() */ #define _BSD_SSIZE_T_ int /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(2, 96) -#define _BSD_VA_LIST_ __builtin_va_list /* GCC built-in type */ -#else -#define _BSD_VA_LIST_ char * /* va_list */ -#endif #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/i386/include/stdarg.h =================================================================== RCS file: sys/arch/i386/include/stdarg.h diff -N sys/arch/i386/include/stdarg.h --- sys/arch/i386/include/stdarg.h 18 Aug 2009 17:40:39 -0000 1.23 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,86 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.23 2009/08/18 17:40:39 drochner Exp $ */ - -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)stdarg.h 8.1 (Berkeley) 6/10/93 - */ - -#ifndef _I386_STDARG_H_ -#define _I386_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ -#define __builtin_next_arg(t) ((t) ? 0 : 0) -#define __builtin_stdarg_start(a, l) ((a) = ((l) ? 0 : 0)) -#define __builtin_va_arg(a, t) ((a) ? 0 : 0) -#define __builtin_va_end /* nothing */ -#define __builtin_va_copy(d, s) ((d) = (s)) -#endif - -#if __GNUC_PREREQ__(4, 1) -#define va_start(ap, last) __builtin_va_start((ap), (last)) -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) -#elif __GNUC_PREREQ__(2, 96) -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) -#elif defined(__PCC__) -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) -#else -#define __va_size(type) \ - (((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long)) - -#define va_start(ap, last) \ - ((ap) = (va_list)__builtin_next_arg(last)) - -#define va_arg(ap, type) \ - (*(type *)(void *)((ap) += __va_size(type), (ap) - __va_size(type))) - -#define va_end(ap) - -#define __va_copy(dest, src) ((dest) = (src)) -#endif - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy((dest), (src)) -#endif - -#endif /* !_I386_STDARG_H_ */ Index: sys/arch/i386/include/varargs.h =================================================================== RCS file: sys/arch/i386/include/varargs.h diff -N sys/arch/i386/include/varargs.h --- sys/arch/i386/include/varargs.h 7 Aug 2003 16:28:00 -0000 1.18 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,67 +0,0 @@ -/* $NetBSD: varargs.h,v 1.18 2003/08/07 16:28:00 agc Exp $ */ - -/*- - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)varargs.h 8.2 (Berkeley) 3/22/94 - */ - -#ifndef _I386_VARARGS_H_ -#define _I386_VARARGS_H_ - -#include - -#if !__GNUC_PREREQ__(2, 0) -#define __va_ellipsis -#else -#define __va_ellipsis ... -#endif - -#if __GNUC_PREREQ__(2, 96) -#define __va_alist_t __builtin_va_alist_t -#else -#define __va_alist_t long -#endif - -#define va_alist __builtin_va_alist -#define va_dcl __va_alist_t __builtin_va_alist; __va_ellipsis - -#undef va_start -#if __GNUC_PREREQ__(2, 96) -#define va_start(ap) __builtin_varargs_start((ap)) -#else -#define va_start(ap) \ - ((ap) = (va_list)&__builtin_va_alist) -#endif - -#endif /* !_I386_VARARGS_H_ */ Index: sys/arch/i386/stand/lib/biosdisk.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/i386/stand/lib/biosdisk.c,v retrieving revision 1.37 diff -u -p -r1.37 biosdisk.c --- sys/arch/i386/stand/lib/biosdisk.c 26 Jan 2011 20:59:48 -0000 1.37 +++ sys/arch/i386/stand/lib/biosdisk.c 11 Jul 2011 21:38:07 -0000 @@ -80,7 +80,6 @@ #include #include -#include #include #include "libi386.h" Index: sys/arch/i386/stand/lib/exec.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/i386/stand/lib/exec.c,v retrieving revision 1.47 diff -u -p -r1.47 exec.c --- sys/arch/i386/stand/lib/exec.c 26 May 2011 04:25:27 -0000 1.47 +++ sys/arch/i386/stand/lib/exec.c 11 Jul 2011 21:38:04 -0000 @@ -98,7 +98,6 @@ #include #include -#include #include #include Index: sys/arch/i386/stand/netboot/dev_net.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/i386/stand/netboot/dev_net.c,v retrieving revision 1.15 diff -u -p -r1.15 dev_net.c --- sys/arch/i386/stand/netboot/dev_net.c 22 Oct 2009 19:10:42 -0000 1.15 +++ sys/arch/i386/stand/netboot/dev_net.c 11 Jul 2011 21:38:00 -0000 @@ -41,7 +41,6 @@ #include #include #include -#include #include Index: sys/arch/i386/stand/pxeboot/dev_net.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/i386/stand/pxeboot/dev_net.c,v retrieving revision 1.10 diff -u -p -r1.10 dev_net.c --- sys/arch/i386/stand/pxeboot/dev_net.c 13 Dec 2009 23:01:42 -0000 1.10 +++ sys/arch/i386/stand/pxeboot/dev_net.c 11 Jul 2011 21:34:25 -0000 @@ -42,7 +42,6 @@ * BOOTP for IP address - bootp() */ -#include #include #include #include Index: sys/arch/ia64/disasm/disasm_extract.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/ia64/disasm/disasm_extract.c,v retrieving revision 1.1 diff -u -p -r1.1 disasm_extract.c --- sys/arch/ia64/disasm/disasm_extract.c 7 Apr 2006 14:21:18 -0000 1.1 +++ sys/arch/ia64/disasm/disasm_extract.c 11 Jul 2011 21:36:51 -0000 @@ -32,8 +32,6 @@ #include #include -#include - #include #include Index: sys/arch/ia64/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/ia64/include/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- sys/arch/ia64/include/Makefile 24 Jul 2010 07:46:52 -0000 1.3 +++ sys/arch/ia64/include/Makefile 11 Jul 2011 18:25:40 -0000 @@ -10,7 +10,7 @@ INCS= _regset.h acpi_func.h acpi_machdep int_mwgwtypes.h int_types.h intr.h intrcnt.h limits.h \ loadfile_machdep.h lock.h mca_machdep.h mcontext.h md_var.h \ pal.h param.h pcb.h pmap.h proc.h pte.h ptrace.h reg.h sal.h \ - setjmp.h signal.h smp.h ssc.h stdarg.h types.h varargs.h \ + setjmp.h signal.h smp.h ssc.h types.h \ vmparam.h wchar_limits.h .include Index: sys/arch/ia64/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/ia64/include/ansi.h,v retrieving revision 1.7 diff -u -p -r1.7 ansi.h --- sys/arch/ia64/include/ansi.h 27 Mar 2010 22:14:09 -0000 1.7 +++ sys/arch/ia64/include/ansi.h 11 Jul 2011 18:43:41 -0000 @@ -61,11 +61,6 @@ #define _BSD_SSIZE_T_ int /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ #endif -#if __GNUC_PREREQ__(2,96) -#define _BSD_VA_LIST_ __builtin_va_list /* va_list */ -#else -#define _BSD_VA_LIST_ int * /* va_list */ -#endif #define _BSD_WINT_T_ int /* wint_t */ #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ Index: sys/arch/ia64/include/stdarg.h =================================================================== RCS file: sys/arch/ia64/include/stdarg.h diff -N sys/arch/ia64/include/stdarg.h --- sys/arch/ia64/include/stdarg.h 7 Apr 2006 14:21:18 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,61 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2006/04/07 14:21:18 cherry Exp $ */ - -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)stdarg.h 8.1 (Berkeley) 6/10/93 - */ - -#ifndef _IA64_STDARG_H_ -#define _IA64_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ -#define __builtin_next_arg(t) ((t) ? 0 : 0) -#define __builtin_stdarg_start(a, l) ((a) = (va_list)(void *)&(l)) -#define __builtin_va_arg(a, t) ((a) ? (t) 0 : (t) 0) -#define __builtin_va_end(a) /* nothing */ -#define __builtin_va_copy(d, s) ((d) = (s)) -#endif - -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#define va_arg __builtin_va_arg -#define va_end(ap) __builtin_va_end(ap) -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy((dest), (src)) -#endif - -#endif /* !_IA64_STDARG_H_ */ Index: sys/arch/ia64/include/varargs.h =================================================================== RCS file: sys/arch/ia64/include/varargs.h diff -N sys/arch/ia64/include/varargs.h --- sys/arch/ia64/include/varargs.h 7 Apr 2006 14:21:18 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,52 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2006/04/07 14:21:18 cherry Exp $ */ - -/*- - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)varargs.h 8.2 (Berkeley) 3/22/94 - */ - -#ifndef _IA64_VARARGS_H_ -#define _IA64_VARARGS_H_ - -#include - -#define __va_ellipsis ... -#define __va_alist_t __builtin_va_alist_t -#define va_alist __builtin_va_alist -#define va_dcl __va_alist_t __builtin_va_alist; __va_ellipsis - -#undef va_start -#define va_start(ap) __builtin_varargs_start((ap)) - -#endif /* !_IA64_VARARGS_H_ */ Index: sys/arch/ia64/stand/common/dev_net.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/ia64/stand/common/dev_net.c,v retrieving revision 1.7 diff -u -p -r1.7 dev_net.c --- sys/arch/ia64/stand/common/dev_net.c 26 Oct 2009 19:16:56 -0000 1.7 +++ sys/arch/ia64/stand/common/dev_net.c 11 Jul 2011 21:34:19 -0000 @@ -52,7 +52,6 @@ * for use by the NFS open code (NFS/lookup). */ -#include #include #include #include Index: sys/arch/ia64/stand/common/panic.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/ia64/stand/common/panic.c,v retrieving revision 1.2 diff -u -p -r1.2 panic.c --- sys/arch/ia64/stand/common/panic.c 22 Apr 2006 07:58:53 -0000 1.2 +++ sys/arch/ia64/stand/common/panic.c 11 Jul 2011 21:34:22 -0000 @@ -37,7 +37,6 @@ /* __FBSDID("$FreeBSD: src/sys/boot/common/panic.c,v 1.7 2003/08/25 23:30:41 obrien Exp $"); */ #include -#include void panic(const char *fmt,...) Index: sys/arch/ia64/stand/efi/libefi/efifpswa.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/ia64/stand/efi/libefi/efifpswa.c,v retrieving revision 1.3 diff -u -p -r1.3 efifpswa.c --- sys/arch/ia64/stand/efi/libefi/efifpswa.c 20 Jul 2009 04:59:03 -0000 1.3 +++ sys/arch/ia64/stand/efi/libefi/efifpswa.c 11 Jul 2011 21:26:56 -0000 @@ -33,7 +33,6 @@ #include #include #include -#include #include #include Index: sys/arch/ia64/stand/efi/libefi/efifs.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/ia64/stand/efi/libefi/efifs.c,v retrieving revision 1.4 diff -u -p -r1.4 efifs.c --- sys/arch/ia64/stand/efi/libefi/efifs.c 20 Jul 2009 04:59:03 -0000 1.4 +++ sys/arch/ia64/stand/efi/libefi/efifs.c 11 Jul 2011 21:26:59 -0000 @@ -33,7 +33,6 @@ #include #include #include -#include #include #include Index: sys/arch/ibmnws/include/stdarg.h =================================================================== RCS file: sys/arch/ibmnws/include/stdarg.h diff -N sys/arch/ibmnws/include/stdarg.h --- sys/arch/ibmnws/include/stdarg.h 11 Dec 2005 12:17:51 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.2 2005/12/11 12:17:51 christos Exp $ */ - -#include Index: sys/arch/ibmnws/include/varargs.h =================================================================== RCS file: sys/arch/ibmnws/include/varargs.h diff -N sys/arch/ibmnws/include/varargs.h --- sys/arch/ibmnws/include/varargs.h 11 Dec 2005 12:17:51 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.2 2005/12/11 12:17:51 christos Exp $ */ - -#include Index: sys/arch/iyonix/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/iyonix/include/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- sys/arch/iyonix/include/Makefile 19 Jan 2008 13:11:18 -0000 1.5 +++ sys/arch/iyonix/include/Makefile 11 Jul 2011 18:26:02 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h INCS+= joystick.h Index: sys/arch/iyonix/include/stdarg.h =================================================================== RCS file: sys/arch/iyonix/include/stdarg.h diff -N sys/arch/iyonix/include/stdarg.h --- sys/arch/iyonix/include/stdarg.h 11 Dec 2005 12:17:51 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.2 2005/12/11 12:17:51 christos Exp $ */ - -#include Index: sys/arch/iyonix/include/varargs.h =================================================================== RCS file: sys/arch/iyonix/include/varargs.h diff -N sys/arch/iyonix/include/varargs.h --- sys/arch/iyonix/include/varargs.h 11 Dec 2005 12:17:51 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.2 2005/12/11 12:17:51 christos Exp $ */ - -#include Index: sys/arch/landisk/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/landisk/include/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- sys/arch/landisk/include/Makefile 9 Feb 2007 21:55:05 -0000 1.2 +++ sys/arch/landisk/include/Makefile 11 Jul 2011 18:26:11 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/landisk/include/stdarg.h =================================================================== RCS file: sys/arch/landisk/include/stdarg.h diff -N sys/arch/landisk/include/stdarg.h --- sys/arch/landisk/include/stdarg.h 1 Sep 2006 21:26:18 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,8 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ - -#ifndef _LANDISK_STDARG_H_ -#define _LANDISK_STDARG_H_ - -#include - -#endif /* _LANDISK_STDARG_H_ */ Index: sys/arch/landisk/include/varargs.h =================================================================== RCS file: sys/arch/landisk/include/varargs.h diff -N sys/arch/landisk/include/varargs.h --- sys/arch/landisk/include/varargs.h 1 Sep 2006 21:26:18 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,8 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ - -#ifndef _LANDISK_VARARGS_H_ -#define _LANDISK_VARARGS_H_ - -#include - -#endif /* _LANDISK_VARARGS_H_ */ Index: sys/arch/landisk/stand/boot/biosdisk.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/landisk/stand/boot/biosdisk.c,v retrieving revision 1.2 diff -u -p -r1.2 biosdisk.c --- sys/arch/landisk/stand/boot/biosdisk.c 6 Jul 2011 01:19:45 -0000 1.2 +++ sys/arch/landisk/stand/boot/biosdisk.c 11 Jul 2011 21:26:02 -0000 @@ -70,7 +70,6 @@ #include #include -#include #include #include "biosdisk.h" Index: sys/arch/luna68k/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/luna68k/include/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- sys/arch/luna68k/include/Makefile 9 Feb 2007 21:55:05 -0000 1.16 +++ sys/arch/luna68k/include/Makefile 11 Jul 2011 18:26:20 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h autoco limits.h lock.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h reg.h \ - rwlock.h setjmp.h signal.h stdarg.h \ + rwlock.h setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/luna68k/include/stdarg.h =================================================================== RCS file: sys/arch/luna68k/include/stdarg.h diff -N sys/arch/luna68k/include/stdarg.h --- sys/arch/luna68k/include/stdarg.h 5 Jan 2000 08:48:59 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2000/01/05 08:48:59 nisimura Exp $ */ - -/* Just use the common m68k definition */ -#include Index: sys/arch/luna68k/include/varargs.h =================================================================== RCS file: sys/arch/luna68k/include/varargs.h diff -N sys/arch/luna68k/include/varargs.h --- sys/arch/luna68k/include/varargs.h 5 Jan 2000 08:49:00 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2000/01/05 08:49:00 nisimura Exp $ */ - -/* Just use the common m68k definition */ -#include Index: sys/arch/m68k/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/m68k/include/Makefile,v retrieving revision 1.26 diff -u -p -r1.26 Makefile --- sys/arch/m68k/include/Makefile 9 Feb 2007 21:55:05 -0000 1.26 +++ sys/arch/m68k/include/Makefile 11 Jul 2011 18:26:29 -0000 @@ -15,10 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h asm_si m68k.h math.h mcontext.h mutex.h \ param.h pmap_motorola.h pmc.h pcb.h proc.h profile.h \ psl.h pte_motorola.h ptrace.h \ - reg.h rwlock.h setjmp.h signal.h stdarg.h sync_icache.h \ + reg.h rwlock.h setjmp.h signal.h sync_icache.h \ sysctl.h \ trap.h types.h \ - varargs.h \ wchar_limits.h .include Index: sys/arch/m68k/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/m68k/include/ansi.h,v retrieving revision 1.22 diff -u -p -r1.22 ansi.h --- sys/arch/m68k/include/ansi.h 27 Mar 2010 22:14:10 -0000 1.22 +++ sys/arch/m68k/include/ansi.h 11 Jul 2011 18:43:46 -0000 @@ -51,11 +51,6 @@ #define _BSD_SIZE_T_ unsigned int /* sizeof() */ #define _BSD_SSIZE_T_ int /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(3,0) -#define _BSD_VA_LIST_ __builtin_va_list /* va_list */ -#else -#define _BSD_VA_LIST_ char * /* va_list */ -#endif #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/m68k/include/stdarg.h =================================================================== RCS file: sys/arch/m68k/include/stdarg.h diff -N sys/arch/m68k/include/stdarg.h --- sys/arch/m68k/include/stdarg.h 11 Dec 2005 12:17:53 -0000 1.23 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,82 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.23 2005/12/11 12:17:53 christos Exp $ */ - -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)stdarg.h 8.1 (Berkeley) 6/10/93 - */ - -#ifndef _M68K_STDARG_H_ -#define _M68K_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ - -#define va_start(ap, last) ((ap) = *(va_list *)0) -#define va_arg(ap, type) (*(type *)(void *)&(ap)) -#define va_end(ap) -#define __va_copy(dest, src) ((dest) = (src)) - -#elif __GNUC_PREREQ__(3,0) - -#define va_start(ap, last) __builtin_va_start(ap, last) -#define va_end(ap) __builtin_va_end(ap) -#define va_arg(ap, type) __builtin_va_arg(ap, type) -#define __va_copy(dest, src) __builtin_va_copy(dest, src) - -#else - -#define __va_size(type) \ - (((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long)) - -#define va_start(ap, last) \ - ((ap) = (va_list)__builtin_next_arg(last)) - -#define va_arg(ap, type) \ - (*(type *)(void *)((ap) += __va_size(type), \ - (ap) - (sizeof(type) < sizeof(long) && \ - sizeof(type) != __va_size(type) ? \ - sizeof(type) : __va_size(type)))) - -#define __va_copy(dest, src) \ - ((dest) = (src)) - -#define va_end(ap) -#endif - -#if !defined(_ANSI_SOURCE) && \ - (!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) || \ - defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L) -#define va_copy(dest, src) __va_copy(dest, src) -#endif - -#endif /* !_M68K_STDARG_H_ */ Index: sys/arch/m68k/include/varargs.h =================================================================== RCS file: sys/arch/m68k/include/varargs.h diff -N sys/arch/m68k/include/varargs.h --- sys/arch/m68k/include/varargs.h 11 Dec 2005 12:17:53 -0000 1.16 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,57 +0,0 @@ -/* $NetBSD: varargs.h,v 1.16 2005/12/11 12:17:53 christos Exp $ */ - -/*- - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)varargs.h 8.2 (Berkeley) 3/22/94 - */ - -#ifndef _M68K_VARARGS_H_ -#define _M68K_VARARGS_H_ - -#include - -#if __GNUC__ == 1 -#define __va_ellipsis -#else -#define __va_ellipsis ... -#endif - -#define va_alist __builtin_va_alist -#define va_dcl long __builtin_va_alist; __va_ellipsis - -#undef va_start -#define va_start(ap) \ - ((ap) = (va_list)&__builtin_va_alist) - -#endif /* !_M68K_VARARGS_H_ */ Index: sys/arch/mac68k/dev/mac68k5380.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mac68k/dev/mac68k5380.c,v retrieving revision 1.45 diff -u -p -r1.45 mac68k5380.c --- sys/arch/mac68k/dev/mac68k5380.c 9 Jul 2011 15:02:15 -0000 1.45 +++ sys/arch/mac68k/dev/mac68k5380.c 11 Jul 2011 21:36:54 -0000 @@ -56,7 +56,6 @@ __KERNEL_RCSID(0, "$NetBSD: mac68k5380.c #include "ncr5380reg.h" #include -#include #include #include Index: sys/arch/mac68k/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mac68k/include/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- sys/arch/mac68k/include/Makefile 9 Feb 2007 21:55:06 -0000 1.22 +++ sys/arch/mac68k/include/Makefile 11 Jul 2011 18:26:40 -0000 @@ -18,9 +18,9 @@ INCS= adbsys.h ansi.h aout_machdep.h asm param.h pcb.h pio.h pmap.h pmc.h proc.h profile.h psc.h psl.h \ pte.h ptrace.h \ reg.h rwlock.h \ - scsi_5380.h setjmp.h signal.h stdarg.h \ + scsi_5380.h setjmp.h signal.h \ trap.h types.h \ - varargs.h viareg.h vmparam.h \ + viareg.h vmparam.h \ wchar_limits.h \ z8530var.h Index: sys/arch/mac68k/include/stdarg.h =================================================================== RCS file: sys/arch/mac68k/include/stdarg.h diff -N sys/arch/mac68k/include/stdarg.h --- sys/arch/mac68k/include/stdarg.h 22 Jan 1999 14:12:07 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.6 1999/01/22 14:12:07 mycroft Exp $ */ - -#include Index: sys/arch/mac68k/include/varargs.h =================================================================== RCS file: sys/arch/mac68k/include/varargs.h diff -N sys/arch/mac68k/include/varargs.h --- sys/arch/mac68k/include/varargs.h 26 Oct 1994 08:46:51 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -/* $NetBSD: varargs.h,v 1.2 1994/10/26 08:46:51 cgd Exp $ */ - -/* Just use the common m68k definition */ -#include Index: sys/arch/macppc/include/stdarg.h =================================================================== RCS file: sys/arch/macppc/include/stdarg.h diff -N sys/arch/macppc/include/stdarg.h --- sys/arch/macppc/include/stdarg.h 29 May 1998 10:32:55 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.2 1998/05/29 10:32:55 tsubai Exp $ */ - -#include Index: sys/arch/macppc/include/varargs.h =================================================================== RCS file: sys/arch/macppc/include/varargs.h diff -N sys/arch/macppc/include/varargs.h --- sys/arch/macppc/include/varargs.h 29 May 1998 10:32:55 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.2 1998/05/29 10:32:55 tsubai Exp $ */ - -#include Index: sys/arch/macppc/stand/ofwboot/Locore.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/macppc/stand/ofwboot/Locore.c,v retrieving revision 1.23 diff -u -p -r1.23 Locore.c --- sys/arch/macppc/stand/ofwboot/Locore.c 18 Sep 2006 10:19:00 -0000 1.23 +++ sys/arch/macppc/stand/ofwboot/Locore.c 11 Jul 2011 21:26:05 -0000 @@ -34,7 +34,6 @@ #include #include -#include #include "openfirm.h" Index: sys/arch/mips/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mips/include/Makefile,v retrieving revision 1.29 diff -u -p -r1.29 Makefile --- sys/arch/mips/include/Makefile 17 Aug 2009 18:55:11 -0000 1.29 +++ sys/arch/mips/include/Makefile 11 Jul 2011 18:27:12 -0000 @@ -14,9 +14,9 @@ INCS= ansi.h asm.h \ mips1_pte.h mips3_pte.h mips_opcode.h mips_param.h mutex.h \ pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/mips/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mips/include/ansi.h,v retrieving revision 1.27 diff -u -p -r1.27 ansi.h --- sys/arch/mips/include/ansi.h 27 Mar 2010 22:14:10 -0000 1.27 +++ sys/arch/mips/include/ansi.h 11 Jul 2011 18:43:51 -0000 @@ -57,11 +57,6 @@ #define _BSD_SSIZE_T_ int /* byte count or error */ #endif /* !__mips_o32 */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(3, 0) -#define _BSD_VA_LIST_ __builtin_va_list /* GCC builtin type */ -#else -#define _BSD_VA_LIST_ char * /* va_list */ -#endif #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/mips/include/stdarg.h =================================================================== RCS file: sys/arch/mips/include/stdarg.h diff -N sys/arch/mips/include/stdarg.h --- sys/arch/mips/include/stdarg.h 3 Jul 2011 10:41:37 -0000 1.30 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,106 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.30 2011/07/03 10:41:37 mrg Exp $ */ - -/*- - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)stdarg.h 8.1 (Berkeley) 6/10/93 - */ - -#ifndef _MIPS_STDARG_H_ -#define _MIPS_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ - -#define va_start(ap, last) ((ap) = *(va_list *)0) -#define va_arg(ap, type) (*(type *)(void *)&(ap)) -#define va_end(ap) -#define __va_copy(dest, src) ((dest) = (src)) - -#elif __GNUC_PREREQ__(3, 0) - -#if __GNUC_PREREQ__(4, 5) -#define va_start(ap, last) __builtin_va_start((ap), last) -#else -#define va_start(ap, last) __builtin_stdarg_start((ap), last) -#endif -#define va_arg(ap, type) __builtin_va_arg((ap), type) -#define va_end(ap) __builtin_va_end((ap)) -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) - -#elif defined(__PCC__) - -#define va_start(ap, last) __builtin_stdarg_start((ap), last) -#define va_arg(ap, type) __builtin_va_arg((ap), type) -#define va_end(ap) __builtin_va_end((ap)) -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) - -#else - -#if defined(__mips_n32) -#error stdarg.h does not work with the N32 ABI with this compiler -#elif defined(__mips_n64) -#error stdarg.h does not work with the N64 ABI with this compiler -#endif - -#define va_start(ap, last) \ - ((ap) = (va_list)__builtin_next_arg(last)) - -#if BYTE_ORDER == LITTLE_ENDIAN -#define va_arg(ap, T) \ - (((T *)( \ - (ap) += (/*CONSTCOND*/ __alignof__(T) <= sizeof(int) \ - ? sizeof(int) : ((long)(ap) & 4) + sizeof(T)), \ - (ap) - (/*CONSTCOND*/ __alignof__(T) <= sizeof(int) \ - ? sizeof(int) : sizeof(T)) \ - ))[0]) -#else -#define va_arg(ap, T) \ - (((T *)( \ - (ap) += (/*CONSTCOND*/ __alignof__(T) <= sizeof(int) \ - ? sizeof(int) : ((long)(ap) & 4) + sizeof(T)) \ - ))[-1]) -#endif - -#define va_end(ap) - -#define __va_copy(dest, src) ((dest) = (src)) - -#endif - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy((dest), (src)) -#endif - -#endif /* !_MIPS_STDARG_H_ */ Index: sys/arch/mips/include/varargs.h =================================================================== RCS file: sys/arch/mips/include/varargs.h diff -N sys/arch/mips/include/varargs.h --- sys/arch/mips/include/varargs.h 11 Dec 2005 12:18:09 -0000 1.18 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,57 +0,0 @@ -/* $NetBSD: varargs.h,v 1.18 2005/12/11 12:18:09 christos Exp $ */ - -/*- - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)varargs.h 8.2 (Berkeley) 3/22/94 - */ - -#ifndef _MIPS_VARARGS_H_ -#define _MIPS_VARARGS_H_ - -#include - -#if __GNUC__ == 1 -#define __va_ellipsis -#else -#define __va_ellipsis ... -#endif - -#define va_alist __builtin_va_alist -#define va_dcl long __builtin_va_alist; __va_ellipsis - -#undef va_start -#define va_start(ap) \ - ((ap) = (va_list)&__builtin_va_alist) - -#endif /* !_MIPS_VARARGS_H_ */ Index: sys/arch/mipsco/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mipsco/include/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- sys/arch/mipsco/include/Makefile 12 Aug 2009 23:29:19 -0000 1.19 +++ sys/arch/mipsco/include/Makefile 11 Jul 2011 18:27:23 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h asm.h autoconf.h \ mainboard.h math.h mcontext.h mips_opcode.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h sysconf.h \ + setjmp.h signal.h sysconf.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h \ z8530var.h Index: sys/arch/mipsco/include/stdarg.h =================================================================== RCS file: sys/arch/mipsco/include/stdarg.h diff -N sys/arch/mipsco/include/stdarg.h --- sys/arch/mipsco/include/stdarg.h 12 Aug 2000 22:58:42 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2000/08/12 22:58:42 wdk Exp $ */ - -#include Index: sys/arch/mipsco/include/varargs.h =================================================================== RCS file: sys/arch/mipsco/include/varargs.h diff -N sys/arch/mipsco/include/varargs.h --- sys/arch/mipsco/include/varargs.h 12 Aug 2000 22:58:46 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2000/08/12 22:58:46 wdk Exp $ */ - -#include Index: sys/arch/mipsco/stand/common/saio.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mipsco/stand/common/saio.c,v retrieving revision 1.12 diff -u -p -r1.12 saio.c --- sys/arch/mipsco/stand/common/saio.c 14 Mar 2009 21:04:12 -0000 1.12 +++ sys/arch/mipsco/stand/common/saio.c 11 Jul 2011 21:26:08 -0000 @@ -37,7 +37,6 @@ #include #include #include -#include #include #include Index: sys/arch/mmeye/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mmeye/include/Makefile,v retrieving revision 1.23 diff -u -p -r1.23 Makefile --- sys/arch/mmeye/include/Makefile 9 Feb 2007 21:55:07 -0000 1.23 +++ sys/arch/mmeye/include/Makefile 11 Jul 2011 18:27:32 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mmeye.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/mmeye/include/stdarg.h =================================================================== RCS file: sys/arch/mmeye/include/stdarg.h diff -N sys/arch/mmeye/include/stdarg.h --- sys/arch/mmeye/include/stdarg.h 13 Sep 1999 10:30:59 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 1999/09/13 10:30:59 itojun Exp $ */ - -#include Index: sys/arch/mmeye/include/varargs.h =================================================================== RCS file: sys/arch/mmeye/include/varargs.h diff -N sys/arch/mmeye/include/varargs.h --- sys/arch/mmeye/include/varargs.h 13 Sep 1999 10:31:00 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 1999/09/13 10:31:00 itojun Exp $ */ - -#include Index: sys/arch/mmeye/stand/boot/wd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mmeye/stand/boot/wd.c,v retrieving revision 1.2 diff -u -p -r1.2 wd.c --- sys/arch/mmeye/stand/boot/wd.c 4 Jul 2011 12:03:56 -0000 1.2 +++ sys/arch/mmeye/stand/boot/wd.c 11 Jul 2011 21:26:11 -0000 @@ -37,7 +37,6 @@ #include #include -#include #include "boot.h" #include "wdvar.h" Index: sys/arch/mvme68k/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mvme68k/include/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- sys/arch/mvme68k/include/Makefile 9 Feb 2007 21:55:07 -0000 1.24 +++ sys/arch/mvme68k/include/Makefile 11 Jul 2011 18:27:42 -0000 @@ -17,9 +17,9 @@ INCS= ansi.h aout_machdep.h asm.h autoco param.h pcb.h pmap.h pmc.h \ proc.h profile.h prom.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h \ z8530var.h Index: sys/arch/mvme68k/include/stdarg.h =================================================================== RCS file: sys/arch/mvme68k/include/stdarg.h diff -N sys/arch/mvme68k/include/stdarg.h --- sys/arch/mvme68k/include/stdarg.h 22 Jan 1999 14:12:07 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.2 1999/01/22 14:12:07 mycroft Exp $ */ - -#include Index: sys/arch/mvme68k/include/varargs.h =================================================================== RCS file: sys/arch/mvme68k/include/varargs.h diff -N sys/arch/mvme68k/include/varargs.h --- sys/arch/mvme68k/include/varargs.h 25 Jul 1995 23:12:19 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1.1.1 1995/07/25 23:12:19 chuck Exp $ */ - -/* Just use the common m68k definition */ -#include Index: sys/arch/mvme68k/stand/bootst/dev_tape.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/mvme68k/stand/bootst/dev_tape.c,v retrieving revision 1.11 diff -u -p -r1.11 dev_tape.c --- sys/arch/mvme68k/stand/bootst/dev_tape.c 11 Apr 2009 10:56:13 -0000 1.11 +++ sys/arch/mvme68k/stand/bootst/dev_tape.c 11 Jul 2011 21:26:13 -0000 @@ -37,7 +37,6 @@ #include #include -#include #include Index: sys/arch/mvmeppc/include/stdarg.h =================================================================== RCS file: sys/arch/mvmeppc/include/stdarg.h diff -N sys/arch/mvmeppc/include/stdarg.h --- sys/arch/mvmeppc/include/stdarg.h 27 Feb 2002 21:02:21 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2002/02/27 21:02:21 scw Exp $ */ - -#include Index: sys/arch/mvmeppc/include/varargs.h =================================================================== RCS file: sys/arch/mvmeppc/include/varargs.h diff -N sys/arch/mvmeppc/include/varargs.h --- sys/arch/mvmeppc/include/varargs.h 27 Feb 2002 21:02:21 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2002/02/27 21:02:21 scw Exp $ */ - -#include Index: sys/arch/netwinder/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/netwinder/include/Makefile,v retrieving revision 1.21 diff -u -p -r1.21 Makefile --- sys/arch/netwinder/include/Makefile 19 Jan 2008 13:11:19 -0000 1.21 +++ sys/arch/netwinder/include/Makefile 11 Jul 2011 18:28:07 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h INCS+= joystick.h Index: sys/arch/netwinder/include/stdarg.h =================================================================== RCS file: sys/arch/netwinder/include/stdarg.h diff -N sys/arch/netwinder/include/stdarg.h --- sys/arch/netwinder/include/stdarg.h 25 Nov 2001 15:56:10 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.3 2001/11/25 15:56:10 thorpej Exp $ */ - -#include Index: sys/arch/netwinder/include/varargs.h =================================================================== RCS file: sys/arch/netwinder/include/varargs.h diff -N sys/arch/netwinder/include/varargs.h --- sys/arch/netwinder/include/varargs.h 25 Nov 2001 15:56:11 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.3 2001/11/25 15:56:11 thorpej Exp $ */ - -#include Index: sys/arch/news68k/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/news68k/include/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- sys/arch/news68k/include/Makefile 4 Mar 2007 08:51:19 -0000 1.22 +++ sys/arch/news68k/include/Makefile 11 Jul 2011 18:28:18 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/news68k/include/stdarg.h =================================================================== RCS file: sys/arch/news68k/include/stdarg.h diff -N sys/arch/news68k/include/stdarg.h --- sys/arch/news68k/include/stdarg.h 9 Dec 1999 14:53:13 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 1999/12/09 14:53:13 tsutsui Exp $ */ - -#include Index: sys/arch/news68k/include/varargs.h =================================================================== RCS file: sys/arch/news68k/include/varargs.h diff -N sys/arch/news68k/include/varargs.h --- sys/arch/news68k/include/varargs.h 9 Dec 1999 14:53:14 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 1999/12/09 14:53:14 tsutsui Exp $ */ - -/* Just use the common m68k definition */ -#include Index: sys/arch/newsmips/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/newsmips/include/Makefile,v retrieving revision 1.33 diff -u -p -r1.33 Makefile --- sys/arch/newsmips/include/Makefile 12 Aug 2009 23:29:20 -0000 1.33 +++ sys/arch/newsmips/include/Makefile 11 Jul 2011 18:28:28 -0000 @@ -16,9 +16,9 @@ INCS= adrsmap.h ansi.h asm.h autoconf.h machConst.h math.h mcontext.h mips_opcode.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h wsconsio.h \ z8530var.h Index: sys/arch/newsmips/include/stdarg.h =================================================================== RCS file: sys/arch/newsmips/include/stdarg.h diff -N sys/arch/newsmips/include/stdarg.h --- sys/arch/newsmips/include/stdarg.h 22 Jan 1999 14:13:10 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.2 1999/01/22 14:13:10 mycroft Exp $ */ - -#include Index: sys/arch/newsmips/include/varargs.h =================================================================== RCS file: sys/arch/newsmips/include/varargs.h diff -N sys/arch/newsmips/include/varargs.h --- sys/arch/newsmips/include/varargs.h 17 Feb 1999 14:13:42 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.3 1999/02/17 14:13:42 tsubai Exp $ */ - -#include Index: sys/arch/next68k/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/next68k/include/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- sys/arch/next68k/include/Makefile 9 Feb 2007 21:55:07 -0000 1.20 +++ sys/arch/next68k/include/Makefile 11 Jul 2011 18:30:01 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h aout_machdep.h asm.h autoco math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h \ z8530var.h Index: sys/arch/next68k/include/stdarg.h =================================================================== RCS file: sys/arch/next68k/include/stdarg.h diff -N sys/arch/next68k/include/stdarg.h --- sys/arch/next68k/include/stdarg.h 9 Jun 1998 07:53:05 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1.1.1 1998/06/09 07:53:05 dbj Exp $ */ - -#include Index: sys/arch/next68k/include/varargs.h =================================================================== RCS file: sys/arch/next68k/include/varargs.h diff -N sys/arch/next68k/include/varargs.h --- sys/arch/next68k/include/varargs.h 9 Jun 1998 07:53:05 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1.1.1 1998/06/09 07:53:05 dbj Exp $ */ - -#include Index: sys/arch/ofppc/include/stdarg.h =================================================================== RCS file: sys/arch/ofppc/include/stdarg.h diff -N sys/arch/ofppc/include/stdarg.h --- sys/arch/ofppc/include/stdarg.h 28 May 1998 08:12:16 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 1998/05/28 08:12:16 sakamoto Exp $ */ - -#include Index: sys/arch/ofppc/include/varargs.h =================================================================== RCS file: sys/arch/ofppc/include/varargs.h diff -N sys/arch/ofppc/include/varargs.h --- sys/arch/ofppc/include/varargs.h 28 May 1998 08:12:17 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 1998/05/28 08:12:17 sakamoto Exp $ */ - -#include Index: sys/arch/pmax/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/pmax/include/Makefile,v retrieving revision 1.34 diff -u -p -r1.34 Makefile --- sys/arch/pmax/include/Makefile 12 Aug 2009 23:29:20 -0000 1.34 +++ sys/arch/pmax/include/Makefile 11 Jul 2011 18:30:15 -0000 @@ -17,9 +17,9 @@ INCS= ansi.h asm.h autoconf.h \ param.h pcb.h pmap.h pmc.h \ proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ tc_machdep.h trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/pmax/include/stdarg.h =================================================================== RCS file: sys/arch/pmax/include/stdarg.h diff -N sys/arch/pmax/include/stdarg.h --- sys/arch/pmax/include/stdarg.h 19 Mar 1996 03:08:51 -0000 1.12 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.12 1996/03/19 03:08:51 jonathan Exp $ */ - -#include Index: sys/arch/pmax/include/varargs.h =================================================================== RCS file: sys/arch/pmax/include/varargs.h diff -N sys/arch/pmax/include/varargs.h --- sys/arch/pmax/include/varargs.h 20 Mar 1996 09:49:31 -0000 1.14 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.14 1996/03/20 09:49:31 jonathan Exp $ */ - -#include Index: sys/arch/pmax/stand/common/rz.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/pmax/stand/common/rz.c,v retrieving revision 1.25 diff -u -p -r1.25 rz.c --- sys/arch/pmax/stand/common/rz.c 14 Mar 2009 21:04:14 -0000 1.25 +++ sys/arch/pmax/stand/common/rz.c 11 Jul 2011 21:26:16 -0000 @@ -37,7 +37,6 @@ #include #include #include -#include #include #include Index: sys/arch/powerpc/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/powerpc/include/Makefile,v retrieving revision 1.37 diff -u -p -r1.37 Makefile --- sys/arch/powerpc/include/Makefile 20 Jun 2011 21:45:16 -0000 1.37 +++ sys/arch/powerpc/include/Makefile 11 Jul 2011 18:30:27 -0000 @@ -17,9 +17,9 @@ INCS+= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/powerpc/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/powerpc/include/ansi.h,v retrieving revision 1.28 diff -u -p -r1.28 ansi.h --- sys/arch/powerpc/include/ansi.h 27 Mar 2010 22:14:10 -0000 1.28 +++ sys/arch/powerpc/include/ansi.h 11 Jul 2011 18:44:11 -0000 @@ -61,17 +61,6 @@ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ #define _BSD_USECONDS_T_ unsigned int /* useconds_t */ -#if __GNUC_PREREQ__(3, 0) -#define _BSD_VA_LIST_ __builtin_va_list /* GCC builtin type */ -#elif defined(__PCC__) -#define _BSD_VA_LIST_ char * /* va_list */ -#else -#define _BSD_VA_LIST_ __va_list /* va_list */ -typedef struct { - char __gpr, __fpr, __pad[2]; - char *__stack, *__base; -} __va_list; -#endif #define _BSD_WCHAR_T_ int /* wchar_t */ #define _BSD_WINT_T_ int /* wint_t */ Index: sys/arch/powerpc/include/stdarg.h =================================================================== RCS file: sys/arch/powerpc/include/stdarg.h diff -N sys/arch/powerpc/include/stdarg.h --- sys/arch/powerpc/include/stdarg.h 1 Jul 2011 01:26:38 -0000 1.17 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,162 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.17 2011/07/01 01:26:38 mrg Exp $ */ - -/*- - * Copyright (c) 2000 Tsubai Masanari. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef _POWERPC_STDARG_H_ -#define _POWERPC_STDARG_H_ - -#include -#include - -#if 0 -typedef struct { - char __gpr; /* GPR offset */ - char __fpr; /* FPR offset */ - char __pad[2]; - char *__stack; /* args passed on stack */ - char *__base; /* args passed by registers (r3-r10, f1-f8) */ -} va_list; -#endif - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ - -#define va_start(ap, last) ((ap) = *(va_list *)0) -#define va_arg(ap, type) (*(type *)(void *)&(ap)) -#define va_end(ap) -#define __va_copy(dest, src) ((dest) = (src)) - -#elif __GNUC_PREREQ__(3, 0) - -#if __GNUC_PREREQ__(4, 5) -#define va_start(ap, last) __builtin_va_start((ap), last) -#else -#define va_start(ap, last) __builtin_stdarg_start((ap), last) -#endif -#define va_arg(ap, type) __builtin_va_arg((ap), type) -#define va_end(ap) __builtin_va_end((ap)) -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) - -#elif defined(__PCC__) - -#define va_start(ap, last) __builtin_stdarg_start((ap), last) -#define va_arg(ap, type) __builtin_va_arg((ap), type) -#define va_end(ap) __builtin_va_end((ap)) -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) - -#else - -#if __GNUC_PREREQ__(2, 95) -#define va_start(ap, last) \ - (__builtin_next_arg(last), \ - (ap) = *(va_list *)__builtin_saveregs()) -#else -#define va_start(ap, last) \ - (__builtin_next_arg(last), \ - (ap).__stack = __va_stack_args, \ - (ap).__base = __va_reg_args, \ - (ap).__gpr = __va_first_gpr, \ - (ap).__fpr = __va_first_fpr) - -#define __va_first_gpr (__builtin_args_info(0)) -#define __va_first_fpr (__builtin_args_info(1) - 32 - 1) -#define __va_stack_args \ - ((char *)__builtin_saveregs() + \ - (__va_first_gpr >= 8 ? __va_first_gpr - 8 : 0) * sizeof(int)) -#define __va_reg_args \ - ((char *)__builtin_frame_address(0) + __builtin_args_info(4)) -#endif /* 2.95 */ - -/* From gcc/typeclass.h */ -#define __INTEGER_TYPE_CLASS 1 -#define __REAL_TYPE_CLASS 8 -#define __RECORD_TYPE_CLASS 12 - -#if __GNUC_PREREQ__(2, 95) -#define __va_longlong(type) \ - (sizeof(type) == 8 && \ - (__builtin_classify_type(*(type *)0) == __REAL_TYPE_CLASS || \ - __builtin_classify_type(*(type *)0) == __INTEGER_TYPE_CLASS)) -#else -/* XXX gcc bug compatibility */ -#define __va_longlong(type) \ - (__builtin_classify_type(*(type *)0) == __INTEGER_TYPE_CLASS && \ - sizeof(type) == 8) -#endif - -#ifdef _SOFT_FLOAT -#define __va_double(type) 0 -#else -#define __va_double(type) \ - (__builtin_classify_type(*(type *)0) == __REAL_TYPE_CLASS) -#endif - -#define __va_struct(type) \ - (__builtin_classify_type(*(type *)0) >= __RECORD_TYPE_CLASS) - -#define __va_size(type) \ - ((sizeof(type) + sizeof(int) - 1) / sizeof(int) * sizeof(int)) - -#define __va_savedgpr(ap, type) \ - ((ap).__base + (ap).__gpr * sizeof(int) - sizeof(type)) - -#define __va_savedfpr(ap, type) \ - ((ap).__base + 8 * sizeof(int) + (ap).__fpr * sizeof(double) - \ - sizeof(type)) - -#define __va_stack(ap, type) \ - ((ap).__stack += __va_size(type) + \ - (__va_longlong(type) ? (int)(ap).__stack & 4 : 0), \ - (ap).__stack - sizeof(type)) - -#define __va_gpr(ap, type) \ - ((ap).__gpr += __va_size(type) / sizeof(int) + \ - (__va_longlong(type) ? (ap).__gpr & 1 : 0), \ - (ap).__gpr <= 8 ? __va_savedgpr(ap, type) : __va_stack(ap, type)) - -#define __va_fpr(ap, type) \ - ((ap).__fpr++, \ - (ap).__fpr <= 8 ? __va_savedfpr(ap, type) : __va_stack(ap, type)) - -#define va_arg(ap, type) \ - (*(type *)(__va_struct(type) ? (*(void **)__va_gpr(ap, void *)) : \ - __va_double(type) ? __va_fpr(ap, type) : \ - __va_gpr(ap, type))) - -#define va_end(ap) -#define __va_copy(dest, src) ((dest) = (src)) - -#endif /* __lint__ */ - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy(dest, src) -#endif - -#endif /* _POWERPC_STDARG_H_ */ Index: sys/arch/powerpc/include/varargs.h =================================================================== RCS file: sys/arch/powerpc/include/varargs.h diff -N sys/arch/powerpc/include/varargs.h --- sys/arch/powerpc/include/varargs.h 4 Dec 2002 17:42:51 -0000 1.9 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,55 +0,0 @@ -/* $NetBSD: varargs.h,v 1.9 2002/12/04 17:42:51 thorpej Exp $ */ - -/*- - * Copyright (c) 2000 Tsubai Masanari. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef _POWERPC_VARARGS_H_ -#define _POWERPC_VARARGS_H_ - -#include - -#define va_alist __builtin_va_alist -#define va_dcl int va_alist; ... - -#undef va_start - -#ifdef __lint__ -#define va_start(ap) ((ap) = *(va_list *)0) -#elif __GNUC_PREREQ__(3, 0) -#define va_start(ap) __builtin_varargs_start((ap).__va) -#elif __GNUC_PREREQ__(2, 95) -#define va_start(ap) ((ap) = *(va_list *)__builtin_saveregs()) -#undef va_alist -#define va_alist __va_1st_arg -#else -#define va_start(ap) \ - ((ap).__stack = __va_stack_args, \ - (ap).__base = __va_reg_args, \ - (ap).__gpr = __va_first_gpr, \ - (ap).__fpr = __va_first_fpr) -#endif - -#endif /* _POWERPC_VARARGS_H_ */ Index: sys/arch/powerpc/oea/oea_machdep.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/powerpc/oea/oea_machdep.c,v retrieving revision 1.59 diff -u -p -r1.59 oea_machdep.c --- sys/arch/powerpc/oea/oea_machdep.c 30 Jun 2011 00:52:59 -0000 1.59 +++ sys/arch/powerpc/oea/oea_machdep.c 12 Jul 2011 14:02:09 -0000 @@ -76,7 +76,6 @@ __KERNEL_RCSID(0, "$NetBSD: oea_machdep. #include #include -#include #include #include #include Index: sys/arch/powerpc/oea/ofw_autoconf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/powerpc/oea/ofw_autoconf.c,v retrieving revision 1.14 diff -u -p -r1.14 ofw_autoconf.c --- sys/arch/powerpc/oea/ofw_autoconf.c 1 Jul 2011 18:59:19 -0000 1.14 +++ sys/arch/powerpc/oea/ofw_autoconf.c 11 Jul 2011 21:36:57 -0000 @@ -47,7 +47,6 @@ __KERNEL_RCSID(0, "$NetBSD: ofw_autoconf #include #include -#include #include #include Index: sys/arch/powerpc/oea/ofw_consinit.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/powerpc/oea/ofw_consinit.c,v retrieving revision 1.12 diff -u -p -r1.12 ofw_consinit.c --- sys/arch/powerpc/oea/ofw_consinit.c 1 Jul 2011 18:59:19 -0000 1.12 +++ sys/arch/powerpc/oea/ofw_consinit.c 11 Jul 2011 21:37:00 -0000 @@ -50,8 +50,6 @@ __KERNEL_RCSID(0, "$NetBSD: ofw_consinit #include #include -#include - #include "akbd.h" #include "adbkbd.h" #include "wsdisplay.h" Index: sys/arch/powerpc/oea/pmap.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/powerpc/oea/pmap.c,v retrieving revision 1.81 diff -u -p -r1.81 pmap.c --- sys/arch/powerpc/oea/pmap.c 30 Jun 2011 00:52:59 -0000 1.81 +++ sys/arch/powerpc/oea/pmap.c 12 Jul 2011 14:02:16 -0000 @@ -88,7 +88,6 @@ __KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.8 #include #include #include -#include #include #include Index: sys/arch/powerpc/powerpc/openfirm.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/powerpc/powerpc/openfirm.c,v retrieving revision 1.20 diff -u -p -r1.20 openfirm.c --- sys/arch/powerpc/powerpc/openfirm.c 8 Apr 2008 02:33:03 -0000 1.20 +++ sys/arch/powerpc/powerpc/openfirm.c 11 Jul 2011 21:37:03 -0000 @@ -42,7 +42,6 @@ __KERNEL_RCSID(0, "$NetBSD: openfirm.c,v #include #include -#include #include Index: sys/arch/powerpc/powerpc/rtas.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/powerpc/powerpc/rtas.c,v retrieving revision 1.12 diff -u -p -r1.12 rtas.c --- sys/arch/powerpc/powerpc/rtas.c 20 Jun 2011 05:50:39 -0000 1.12 +++ sys/arch/powerpc/powerpc/rtas.c 12 Jul 2011 14:02:20 -0000 @@ -20,7 +20,6 @@ __KERNEL_RCSID(0, "$NetBSD: rtas.c,v 1.1 #include #include -#include #include #include Index: sys/arch/prep/include/stdarg.h =================================================================== RCS file: sys/arch/prep/include/stdarg.h diff -N sys/arch/prep/include/stdarg.h --- sys/arch/prep/include/stdarg.h 29 Feb 2000 15:21:31 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2000/02/29 15:21:31 nonaka Exp $ */ - -#include Index: sys/arch/prep/include/varargs.h =================================================================== RCS file: sys/arch/prep/include/varargs.h diff -N sys/arch/prep/include/varargs.h --- sys/arch/prep/include/varargs.h 29 Feb 2000 15:21:31 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2000/02/29 15:21:31 nonaka Exp $ */ - -#include Index: sys/arch/rs6000/include/stdarg.h =================================================================== RCS file: sys/arch/rs6000/include/stdarg.h diff -N sys/arch/rs6000/include/stdarg.h --- sys/arch/rs6000/include/stdarg.h 17 Dec 2007 19:09:36 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2007/12/17 19:09:36 garbled Exp $ */ - -#include Index: sys/arch/rs6000/include/varargs.h =================================================================== RCS file: sys/arch/rs6000/include/varargs.h diff -N sys/arch/rs6000/include/varargs.h --- sys/arch/rs6000/include/varargs.h 17 Dec 2007 19:09:37 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2007/12/17 19:09:37 garbled Exp $ */ - -#include Index: sys/arch/sandpoint/include/stdarg.h =================================================================== RCS file: sys/arch/sandpoint/include/stdarg.h diff -N sys/arch/sandpoint/include/stdarg.h --- sys/arch/sandpoint/include/stdarg.h 4 Feb 2001 18:32:15 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2001/02/04 18:32:15 briggs Exp $ */ - -#include Index: sys/arch/sandpoint/include/varargs.h =================================================================== RCS file: sys/arch/sandpoint/include/varargs.h diff -N sys/arch/sandpoint/include/varargs.h --- sys/arch/sandpoint/include/varargs.h 4 Feb 2001 18:32:15 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2001/02/04 18:32:15 briggs Exp $ */ - -#include Index: sys/arch/sandpoint/stand/altboot/dev_net.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sandpoint/stand/altboot/dev_net.c,v retrieving revision 1.1 diff -u -p -r1.1 dev_net.c --- sys/arch/sandpoint/stand/altboot/dev_net.c 23 Jan 2011 01:05:30 -0000 1.1 +++ sys/arch/sandpoint/stand/altboot/dev_net.c 11 Jul 2011 21:26:18 -0000 @@ -41,7 +41,6 @@ #include #include -#include #include "globals.h" Index: sys/arch/sandpoint/stand/altboot/dsk.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sandpoint/stand/altboot/dsk.c,v retrieving revision 1.7 diff -u -p -r1.7 dsk.c --- sys/arch/sandpoint/stand/altboot/dsk.c 20 Jun 2011 19:48:05 -0000 1.7 +++ sys/arch/sandpoint/stand/altboot/dsk.c 11 Jul 2011 21:26:20 -0000 @@ -44,10 +44,10 @@ #include #include #include + #include #include -#include #include "globals.h" Index: sys/arch/sbmips/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sbmips/include/Makefile,v retrieving revision 1.11 diff -u -p -r1.11 Makefile --- sys/arch/sbmips/include/Makefile 12 Aug 2009 23:29:20 -0000 1.11 +++ sys/arch/sbmips/include/Makefile 11 Jul 2011 18:30:49 -0000 @@ -18,9 +18,9 @@ INCS= ansi.h asm.h \ math.h mcontext.h mips_opcode.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/sbmips/include/stdarg.h =================================================================== RCS file: sys/arch/sbmips/include/stdarg.h diff -N sys/arch/sbmips/include/stdarg.h --- sys/arch/sbmips/include/stdarg.h 6 Mar 2002 02:13:49 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2002/03/06 02:13:49 simonb Exp $ */ - -#include Index: sys/arch/sbmips/include/varargs.h =================================================================== RCS file: sys/arch/sbmips/include/varargs.h diff -N sys/arch/sbmips/include/varargs.h --- sys/arch/sbmips/include/varargs.h 6 Mar 2002 02:13:50 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2002/03/06 02:13:50 simonb Exp $ */ - -#include Index: sys/arch/sbmips/stand/netboot/dev_net.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sbmips/stand/netboot/dev_net.c,v retrieving revision 1.5 diff -u -p -r1.5 dev_net.c --- sys/arch/sbmips/stand/netboot/dev_net.c 21 Oct 2009 23:12:09 -0000 1.5 +++ sys/arch/sbmips/stand/netboot/dev_net.c 11 Jul 2011 21:26:22 -0000 @@ -43,7 +43,6 @@ * for use by the NFS open code (NFS/lookup). */ -#include #include #include #include Index: sys/arch/sgimips/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sgimips/include/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- sys/arch/sgimips/include/Makefile 12 Aug 2009 23:29:20 -0000 1.20 +++ sys/arch/sgimips/include/Makefile 11 Jul 2011 18:30:59 -0000 @@ -17,9 +17,9 @@ INCS= asm.h ansi.h autoconf.h \ param.h pci_machdep.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h \ ptrace.h \ reg.h regdef.h regnum.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h \ z8530var.h \ Index: sys/arch/sgimips/include/stdarg.h =================================================================== RCS file: sys/arch/sgimips/include/stdarg.h diff -N sys/arch/sgimips/include/stdarg.h --- sys/arch/sgimips/include/stdarg.h 14 Jun 2000 15:40:00 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2000/06/14 15:40:00 soren Exp $ */ - -#include Index: sys/arch/sgimips/include/varargs.h =================================================================== RCS file: sys/arch/sgimips/include/varargs.h diff -N sys/arch/sgimips/include/varargs.h --- sys/arch/sgimips/include/varargs.h 14 Jun 2000 15:40:01 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2000/06/14 15:40:01 soren Exp $ */ - -#include Index: sys/arch/sgimips/stand/common/disk.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sgimips/stand/common/disk.c,v retrieving revision 1.10 diff -u -p -r1.10 disk.c --- sys/arch/sgimips/stand/common/disk.c 20 Feb 2011 07:59:52 -0000 1.10 +++ sys/arch/sgimips/stand/common/disk.c 11 Jul 2011 21:26:23 -0000 @@ -35,7 +35,6 @@ */ #include -#include #include #include Index: sys/arch/sh3/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sh3/include/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- sys/arch/sh3/include/Makefile 9 Feb 2007 21:55:12 -0000 1.24 +++ sys/arch/sh3/include/Makefile 11 Jul 2011 18:31:09 -0000 @@ -17,9 +17,9 @@ INCS= ansi.h aout_machdep.h asm.h \ pte.h ptrace.h \ reg.h rwlock.h \ setjmp.h sh_opcode.h \ - signal.h stdarg.h \ + signal.h \ types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/sh3/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sh3/include/ansi.h,v retrieving revision 1.14 diff -u -p -r1.14 ansi.h --- sys/arch/sh3/include/ansi.h 27 Mar 2010 22:14:10 -0000 1.14 +++ sys/arch/sh3/include/ansi.h 11 Jul 2011 18:44:16 -0000 @@ -50,11 +50,6 @@ #define _BSD_SIZE_T_ unsigned int /* sizeof() */ #define _BSD_SSIZE_T_ int /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(2, 96) -#define _BSD_VA_LIST_ __builtin_va_list /* GCC built-in type */ -#else -#define _BSD_VA_LIST_ char * /* va_list */ -#endif #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/sh3/include/stdarg.h =================================================================== RCS file: sys/arch/sh3/include/stdarg.h diff -N sys/arch/sh3/include/stdarg.h --- sys/arch/sh3/include/stdarg.h 3 Jul 2011 06:45:50 -0000 1.10 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,82 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.10 2011/07/03 06:45:50 mrg Exp $ */ - -/* - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * from: @(#)stdarg.h 8.1 (Berkeley) 6/10/93 - */ - -#ifndef _SH3_STDARG_H_ -#define _SH3_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ -#define __builtin_next_arg(t) ((t) ? 0 : 0) -#define __builtin_stdarg_start(a, l) ((a) = ((l) ? 0 : 0)) -#define __builtin_va_start(a, l) ((a) = ((l) ? 0 : 0)) -#define __builtin_va_arg(a, t) ((t)((a) ? 0 : 0)) -#define __builtin_va_end /* nothing */ -#define __builtin_va_copy(d, s) ((d) = (s)) -#endif - -#if __GNUC_PREREQ__(2, 96) -#if __GNUC_PREREQ__(4, 5) -#define va_start(ap, last) __builtin_va_start((ap), (last)) -#else -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#endif -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) -#else -#define __va_size(type) \ - (((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long)) - -#define va_start(ap, last) \ - ((ap) = (va_list)__builtin_next_arg(last)) - -#define va_arg(ap, type) \ - ((type *)(void *)(ap += __va_size(type)))[-1] - -#define va_end(ap) - -#define __va_copy(dest, src) ((dest) = (src)) - -#endif /* __GNUC_PREREQ__(2, 96) */ - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy((dest), (src)) -#endif - -#endif /* !_SH3_STDARG_H_ */ Index: sys/arch/sh3/include/varargs.h =================================================================== RCS file: sys/arch/sh3/include/varargs.h diff -N sys/arch/sh3/include/varargs.h --- sys/arch/sh3/include/varargs.h 21 May 2006 22:39:04 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,67 +0,0 @@ -/* $NetBSD: varargs.h,v 1.7 2006/05/21 22:39:04 uwe Exp $ */ - -/* - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * from: @(#)varargs.h 8.2 (Berkeley) 3/22/94 - */ - -#ifndef _SH3_VARARGS_H_ -#define _SH3_VARARGS_H_ - -#include - -#if !__GNUC_PREREQ__(2, 0) -#define __va_ellipsis -#else -#define __va_ellipsis ... -#endif - -#if __GNUC_PREREQ__(2, 96) -#define __va_alist_t __builtin_va_alist_t -#else -#define __va_alist_t long -#endif - -#define va_alist __builtin_va_alist -#define va_dcl __va_alist_t __builtin_va_alist; __va_ellipsis - -#undef va_start -#if __GNUC_PREREQ__(2, 96) -#define va_start(ap) __builtin_varargs_start((ap)) -#else -#define va_start(ap) \ - ((ap) = (va_list)&__builtin_va_alist) -#endif - -#endif /* !_SH3_VARARGS_H_ */ Index: sys/arch/shark/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/shark/include/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- sys/arch/shark/include/Makefile 19 Jan 2008 13:11:20 -0000 1.10 +++ sys/arch/shark/include/Makefile 11 Jul 2011 18:31:20 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h asm.h \ math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h INCS+= devmap.h joystick.h Index: sys/arch/shark/include/stdarg.h =================================================================== RCS file: sys/arch/shark/include/stdarg.h diff -N sys/arch/shark/include/stdarg.h --- sys/arch/shark/include/stdarg.h 10 Feb 2002 01:57:44 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2002/02/10 01:57:44 thorpej Exp $ */ - -#include Index: sys/arch/shark/include/varargs.h =================================================================== RCS file: sys/arch/shark/include/varargs.h diff -N sys/arch/shark/include/varargs.h --- sys/arch/shark/include/varargs.h 10 Feb 2002 01:57:46 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2002/02/10 01:57:46 thorpej Exp $ */ - -#include Index: sys/arch/sparc/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sparc/include/Makefile,v retrieving revision 1.30 diff -u -p -r1.30 Makefile --- sys/arch/sparc/include/Makefile 20 May 2011 21:42:49 -0000 1.30 +++ sys/arch/sparc/include/Makefile 11 Jul 2011 18:31:30 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h aout_machdep.h apmvar.h asm oldmon.h openpromio.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h reloc.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ tctrl.h trap.h types.h \ - varargs.h vmparam.h vuid_event.h \ + vmparam.h vuid_event.h \ wchar_limits.h .include Index: sys/arch/sparc/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sparc/include/ansi.h,v retrieving revision 1.22 diff -u -p -r1.22 ansi.h --- sys/arch/sparc/include/ansi.h 27 Mar 2010 22:14:10 -0000 1.22 +++ sys/arch/sparc/include/ansi.h 11 Jul 2011 18:46:32 -0000 @@ -51,11 +51,6 @@ #define _BSD_SIZE_T_ unsigned long /* sizeof() */ #define _BSD_SSIZE_T_ long /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(3, 0) -#define _BSD_VA_LIST_ __builtin_va_list /* va_list */ -#else -#define _BSD_VA_LIST_ char * /* va_list */ -#endif #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/sparc/include/stdarg.h =================================================================== RCS file: sys/arch/sparc/include/stdarg.h diff -N sys/arch/sparc/include/stdarg.h --- sys/arch/sparc/include/stdarg.h 11 Dec 2005 12:19:06 -0000 1.23 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,150 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.23 2005/12/11 12:19:06 christos Exp $ */ - -/* - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * This software was developed by the Computer Systems Engineering group - * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and - * contributed to Berkeley. - * - * All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Lawrence Berkeley Laboratory. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * from: @(#)stdarg.h 8.2 (Berkeley) 9/27/93 - */ - -#ifndef _SPARC_STDARG_H_ -#define _SPARC_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ - -# define va_start(ap, last) ((ap) = *(va_list *)0) -# define va_arg(ap, type) (*(type *)(void *)&(ap)) -# define va_end(ap) -# define __va_copy(dest, src) ((dest) = (src)) - -#elif __GNUC_PREREQ__(3,0) - -# define va_start(ap, last) __builtin_va_start(ap, last) -# define va_end(ap) __builtin_va_end(ap) -# define va_arg(ap, type) __builtin_va_arg(ap, type) -# define __va_copy(dst, src) __builtin_va_copy(dst, src) - -#else - -# define va_start(ap, last) \ - (void)(__builtin_next_arg(last), (ap) = (va_list)__builtin_saveregs()) - - -# define va_end(ap) -# define __va_copy(dest, src) \ - ((dest) = (src)) - -# ifdef __arch64__ -/* - * For sparcv9 code. - */ -# define __va_arg8(ap, type) \ - (*(type *)(void *)((ap) += 8, (ap) - 8)) -# define __va_arg16(ap, type) \ - (*(type *)(void *)((ap) = (va_list)(((unsigned long)(ap) + 31) & -16),\ - (ap) - 16)) -# define __va_int(ap, type) \ - (*(type *)(void *)((ap) += 8, (ap) - sizeof(type))) - -# define __REAL_TYPE_CLASS 8 -# define __RECORD_TYPE_CLASS 12 -# define va_arg(ap, type) \ - (__builtin_classify_type(*(type *)0) == __REAL_TYPE_CLASS ? \ - (__alignof__(type) == 16 ? __va_arg16(ap, type) : \ - __va_arg8(ap, type)) : \ - (__builtin_classify_type(*(type *)0) < __RECORD_TYPE_CLASS ? \ - __va_int(ap, type) : \ - (sizeof(type) <= 8 ? __va_arg8(ap, type) : \ - (sizeof(type) <= 16 ? __va_arg16(ap, type) : \ - *__va_arg8(ap, type *))))) -# else /* __arch64__ */ -/* - * For sparcv8 code. - */ -# define __va_size(type) \ - (((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long)) - -/* - * va_arg picks up the next argument of type `type'. Appending an - * asterisk to `type' must produce a pointer to `type' (i.e., `type' - * may not be, e.g., `int (*)()'). - * - * Gcc-2.x tries to use ldd/std for double and quad_t values, but Sun's - * brain-damaged calling convention does not quad-align these. Thus, for - * 8-byte arguments, we have to pick up the actual value four bytes at a - * time, and use type punning (i.e., a union) to produce the result. - * (We could also do this with a libc function, actually, by returning - * 8 byte integers in %o0+%o1 and the same 8 bytes as a double in %f0+%f1.) - * - * Note: We don't declare __d with type `type', since in C++ the type might - * have a constructor. - */ - -# define __va_8byte(ap, type) \ - __extension__ ({ \ - union { char __d[sizeof(type)]; int __i[2]; } __va_u; \ - __va_u.__i[0] = ((int *)(void *)(ap))[0]; \ - __va_u.__i[1] = ((int *)(void *)(ap))[1]; \ - (ap) += 8; *(type *)(va_list)__va_u.__d; \ - }) - -# define __va_arg(ap, type) \ - (*(type *)((ap) += __va_size(type), \ - (ap) - (sizeof(type) < sizeof(long) && \ - sizeof(type) != __va_size(type) ? \ - sizeof(type) : __va_size(type)))) - -# define __RECORD_TYPE_CLASS 12 -# define va_arg(ap, type) \ - (__builtin_classify_type(*(type *)0) >= __RECORD_TYPE_CLASS ? \ - *__va_arg(ap, type *) : __va_size(type) == 8 ? \ - __va_8byte(ap, type) : __va_arg(ap, type)) - -# endif /* __arch64__ */ -#endif /* !__GNUC_PREREQ(3, 0) */ - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -# define va_copy(dst, src) __va_copy(dst, src) -#endif - -#endif /* !_SPARC_STDARG_H_ */ Index: sys/arch/sparc/include/varargs.h =================================================================== RCS file: sys/arch/sparc/include/varargs.h diff -N sys/arch/sparc/include/varargs.h --- sys/arch/sparc/include/varargs.h 11 Dec 2005 12:19:06 -0000 1.12 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,66 +0,0 @@ -/* $NetBSD: varargs.h,v 1.12 2005/12/11 12:19:06 christos Exp $ */ - -/* - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * (c) UNIX System Laboratories, Inc. - * All or some portions of this file are derived from material licensed - * to the University of California by American Telephone and Telegraph - * Co. or Unix System Laboratories, Inc. and are reproduced herein with - * the permission of UNIX System Laboratories, Inc. - * - * This software was developed by the Computer Systems Engineering group - * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and - * contributed to Berkeley. - * - * All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Lawrence Berkeley Laboratory. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * from: @(#)varargs.h 8.3 (Berkeley) 3/22/94 - */ - -#ifndef _SPARC_VARARGS_H_ -#define _SPARC_VARARGS_H_ - -#include - -#if __GNUC__ == 1 -#define __va_ellipsis -#else -#define __va_ellipsis ... -#endif - -#define va_alist __builtin_va_alist -#define va_dcl long __builtin_va_alist; __va_ellipsis - -#undef va_start -#define va_start(ap) \ - ((ap) = (va_list)__builtin_saveregs()) - -#endif /* !_SPARC_VARARGS_H_ */ Index: sys/arch/sparc/sparc/openfirm.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sparc/sparc/openfirm.c,v retrieving revision 1.16 diff -u -p -r1.16 openfirm.c --- sys/arch/sparc/sparc/openfirm.c 19 Aug 2008 18:52:03 -0000 1.16 +++ sys/arch/sparc/sparc/openfirm.c 11 Jul 2011 21:37:06 -0000 @@ -37,7 +37,6 @@ __KERNEL_RCSID(0, "$NetBSD: openfirm.c,v #include #include #include -#include #include #include Index: sys/arch/sparc/sparc/promlib.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sparc/sparc/promlib.c,v retrieving revision 1.42 diff -u -p -r1.42 promlib.c --- sys/arch/sparc/sparc/promlib.c 21 Jan 2010 11:40:01 -0000 1.42 +++ sys/arch/sparc/sparc/promlib.c 11 Jul 2011 21:37:08 -0000 @@ -52,7 +52,6 @@ __KERNEL_RCSID(0, "$NetBSD: promlib.c,v #include #endif /* _STANDALONE */ -#include #include #include #include Index: sys/arch/sparc/stand/bootxx/promlib.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sparc/stand/bootxx/promlib.c,v retrieving revision 1.10 diff -u -p -r1.10 promlib.c --- sys/arch/sparc/stand/bootxx/promlib.c 28 Apr 2008 20:23:36 -0000 1.10 +++ sys/arch/sparc/stand/bootxx/promlib.c 11 Jul 2011 21:26:25 -0000 @@ -47,7 +47,6 @@ #include #include -#include #include #include #include Index: sys/arch/sparc64/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sparc64/include/Makefile,v retrieving revision 1.27 diff -u -p -r1.27 Makefile --- sys/arch/sparc64/include/Makefile 9 Jul 2011 17:15:46 -0000 1.27 +++ sys/arch/sparc64/include/Makefile 11 Jul 2011 18:31:40 -0000 @@ -17,9 +17,9 @@ INCS= ansi.h aout_machdep.h asm.h autoco oldmon.h openpromio.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h psl.h pte.h ptrace.h \ reg.h reloc.h remote-sl.h rwlock.h \ - setjmp.h signal.h stdarg.h svr4_machdep.h \ + setjmp.h signal.h svr4_machdep.h \ trap.h types.h \ - varargs.h vmparam.h vuid_event.h \ + vmparam.h vuid_event.h \ wchar_limits.h \ z8530var.h Index: sys/arch/sparc64/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sparc64/include/ansi.h,v retrieving revision 1.16 diff -u -p -r1.16 ansi.h --- sys/arch/sparc64/include/ansi.h 27 Mar 2010 22:14:10 -0000 1.16 +++ sys/arch/sparc64/include/ansi.h 11 Jul 2011 18:46:37 -0000 @@ -51,11 +51,6 @@ #define _BSD_SIZE_T_ unsigned long /* sizeof() */ #define _BSD_SSIZE_T_ long /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(3, 0) -#define _BSD_VA_LIST_ __builtin_va_list /* va_list */ -#else -#define _BSD_VA_LIST_ char * /* va_list */ -#endif #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_SUSECONDS_T_ int /* suseconds_t */ Index: sys/arch/sparc64/include/stdarg.h =================================================================== RCS file: sys/arch/sparc64/include/stdarg.h diff -N sys/arch/sparc64/include/stdarg.h --- sys/arch/sparc64/include/stdarg.h 20 Jul 2002 11:52:22 -0000 1.13 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.13 2002/07/20 11:52:22 mrg Exp $ */ - -#include Index: sys/arch/sparc64/include/varargs.h =================================================================== RCS file: sys/arch/sparc64/include/varargs.h diff -N sys/arch/sparc64/include/varargs.h --- sys/arch/sparc64/include/varargs.h 20 Jul 2002 11:52:22 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.2 2002/07/20 11:52:22 mrg Exp $ */ - -#include Index: sys/arch/sparc64/sparc64/ofw_machdep.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sparc64/sparc64/ofw_machdep.c,v retrieving revision 1.37 diff -u -p -r1.37 ofw_machdep.c --- sys/arch/sparc64/sparc64/ofw_machdep.c 20 Feb 2010 16:46:38 -0000 1.37 +++ sys/arch/sparc64/sparc64/ofw_machdep.c 11 Jul 2011 21:37:19 -0000 @@ -54,12 +54,6 @@ __KERNEL_RCSID(0, "$NetBSD: ofw_machdep. #include -/* - * Note that stdarg.h and the ANSI style va_start macro is used for both - * ANSI and traditional C compilers. - */ -#include - #include static u_int mmuh = -1, memh = -1; Index: sys/arch/sun2/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sun2/include/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- sys/arch/sun2/include/Makefile 22 Feb 2007 13:44:05 -0000 1.10 +++ sys/arch/sun2/include/Makefile 11 Jul 2011 18:31:49 -0000 @@ -16,9 +16,9 @@ INCS= ansi.h aout_machdep.h asm.h autoco param.h pcb.h pmap.h pmc.h promlib.h \ proc.h profile.h psl.h pte.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h vuid_event.h \ + vmparam.h vuid_event.h \ wchar_limits.h \ z8530var.h Index: sys/arch/sun2/include/stdarg.h =================================================================== RCS file: sys/arch/sun2/include/stdarg.h diff -N sys/arch/sun2/include/stdarg.h --- sys/arch/sun2/include/stdarg.h 6 Apr 2001 13:13:05 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2001/04/06 13:13:05 fredette Exp $ */ - -#include Index: sys/arch/sun2/include/varargs.h =================================================================== RCS file: sys/arch/sun2/include/varargs.h diff -N sys/arch/sun2/include/varargs.h --- sys/arch/sun2/include/varargs.h 24 Apr 2001 14:42:32 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2001/04/24 14:42:32 fredette Exp $ */ - -#include Index: sys/arch/sun2/sun2/locore2.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sun2/sun2/locore2.c,v retrieving revision 1.24 diff -u -p -r1.24 locore2.c --- sys/arch/sun2/sun2/locore2.c 28 Nov 2009 21:37:28 -0000 1.24 +++ sys/arch/sun2/sun2/locore2.c 11 Jul 2011 21:37:22 -0000 @@ -53,8 +53,6 @@ __KERNEL_RCSID(0, "$NetBSD: locore2.c,v #include #include -#include - #include #include #include Index: sys/arch/sun2/sun2/promlib.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sun2/sun2/promlib.c,v retrieving revision 1.16 diff -u -p -r1.16 promlib.c --- sys/arch/sun2/sun2/promlib.c 28 Apr 2008 20:23:37 -0000 1.16 +++ sys/arch/sun2/sun2/promlib.c 11 Jul 2011 21:37:24 -0000 @@ -39,7 +39,6 @@ __KERNEL_RCSID(0, "$NetBSD: promlib.c,v #include -#include #define _SUN2_PROMLIB_PRIVATE #include Index: sys/arch/sun3/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sun3/include/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- sys/arch/sun3/include/Makefile 9 Feb 2007 21:55:13 -0000 1.24 +++ sys/arch/sun3/include/Makefile 11 Jul 2011 18:31:57 -0000 @@ -17,9 +17,9 @@ INCS= ansi.h aout_machdep.h asm.h autoco param.h param3.h param3x.h pcb.h pmap.h pmap3.h pmap3x.h pmc.h \ proc.h profile.h psl.h pte.h pte3.h pte3x.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h \ + setjmp.h signal.h \ trap.h types.h \ - varargs.h vmparam.h vmparam3.h vmparam3x.h vuid_event.h \ + vmparam.h vmparam3.h vmparam3x.h vuid_event.h \ wchar_limits.h \ z8530var.h Index: sys/arch/sun3/include/stdarg.h =================================================================== RCS file: sys/arch/sun3/include/stdarg.h diff -N sys/arch/sun3/include/stdarg.h --- sys/arch/sun3/include/stdarg.h 21 Nov 1994 21:34:19 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.5 1994/11/21 21:34:19 gwr Exp $ */ - -#include Index: sys/arch/sun3/include/varargs.h =================================================================== RCS file: sys/arch/sun3/include/varargs.h diff -N sys/arch/sun3/include/varargs.h --- sys/arch/sun3/include/varargs.h 21 Nov 1994 21:34:28 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.5 1994/11/21 21:34:28 gwr Exp $ */ - -#include Index: sys/arch/sun68k/stand/bootxx/panic_putstr.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sun68k/stand/bootxx/panic_putstr.c,v retrieving revision 1.2 diff -u -p -r1.2 panic_putstr.c --- sys/arch/sun68k/stand/bootxx/panic_putstr.c 3 Jun 2002 00:18:26 -0000 1.2 +++ sys/arch/sun68k/stand/bootxx/panic_putstr.c 11 Jul 2011 21:26:28 -0000 @@ -1,7 +1,6 @@ /* $NetBSD: panic_putstr.c,v 1.2 2002/06/03 00:18:26 fredette Exp $ */ -#include #include #include "libsa.h" Index: sys/arch/sun68k/stand/libsa/dev_disk.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sun68k/stand/libsa/dev_disk.c,v retrieving revision 1.4 diff -u -p -r1.4 dev_disk.c --- sys/arch/sun68k/stand/libsa/dev_disk.c 28 Apr 2008 20:23:39 -0000 1.4 +++ sys/arch/sun68k/stand/libsa/dev_disk.c 11 Jul 2011 21:26:30 -0000 @@ -41,7 +41,6 @@ #include #include -#include #include #include "libsa.h" Index: sys/arch/sun68k/stand/libsa/panic.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sun68k/stand/libsa/panic.c,v retrieving revision 1.3 diff -u -p -r1.3 panic.c --- sys/arch/sun68k/stand/libsa/panic.c 3 Jun 2002 00:18:27 -0000 1.3 +++ sys/arch/sun68k/stand/libsa/panic.c 11 Jul 2011 21:26:32 -0000 @@ -1,7 +1,6 @@ /* $NetBSD: panic.c,v 1.3 2002/06/03 00:18:27 fredette Exp $ */ -#include #include #include "libsa.h" Index: sys/arch/sun68k/stand/tapeboot/dev_tape.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/sun68k/stand/tapeboot/dev_tape.c,v retrieving revision 1.5 diff -u -p -r1.5 dev_tape.c --- sys/arch/sun68k/stand/tapeboot/dev_tape.c 12 Jan 2009 07:01:00 -0000 1.5 +++ sys/arch/sun68k/stand/tapeboot/dev_tape.c 11 Jul 2011 21:26:34 -0000 @@ -41,7 +41,6 @@ #include #include -#include #include #include "libsa.h" Index: sys/arch/usermode/include/stdarg.h =================================================================== RCS file: sys/arch/usermode/include/stdarg.h diff -N sys/arch/usermode/include/stdarg.h --- sys/arch/usermode/include/stdarg.h 21 Oct 2009 16:06:59 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,34 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.2 2009/10/21 16:06:59 snj Exp $ */ - -/*- - * Copyright (c) 2007 Jared D. McNeill - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef _ARCH_USERMODE_INCLUDE_STDARG_H -#define _ARCH_USERMODE_INCLUDE_STDARG_H - -#include - -#endif /* !_ARCH_USERMODE_INCLUDE_STDARG_H */ Index: sys/arch/vax/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/vax/include/Makefile,v retrieving revision 1.27 diff -u -p -r1.27 Makefile --- sys/arch/vax/include/Makefile 16 Feb 2007 02:17:42 -0000 1.27 +++ sys/arch/vax/include/Makefile 11 Jul 2011 18:32:26 -0000 @@ -18,10 +18,10 @@ INCS= ansi.h aout_machdep.h asm.h \ proc.h profile.h psl.h pte.h ptrace.h \ qdioctl.h qdreg.h qduser.h qevent.h \ reg.h rpb.h rsp.h rwlock.h \ - scb.h setjmp.h sid.h signal.h stdarg.h \ + scb.h setjmp.h sid.h signal.h \ trap.h types.h \ uvax.h \ - varargs.h vaxfp.h vmparam.h vsbus.h \ + vaxfp.h vmparam.h vsbus.h \ wchar_limits.h .include Index: sys/arch/vax/include/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/vax/include/ansi.h,v retrieving revision 1.25 diff -u -p -r1.25 ansi.h --- sys/arch/vax/include/ansi.h 27 Mar 2010 22:14:10 -0000 1.25 +++ sys/arch/vax/include/ansi.h 11 Jul 2011 18:46:41 -0000 @@ -53,11 +53,6 @@ #define _BSD_SIZE_T_ unsigned long int /* sizeof() */ #define _BSD_SSIZE_T_ long int /* byte count or error */ #define _BSD_TIME_T_ __int64_t /* time() */ -#if __GNUC_PREREQ__(2,96) -#define _BSD_VA_LIST_ __builtin_va_list /* va_list */ -#else -#define _BSD_VA_LIST_ char * /* va_list */ -#endif #define _BSD_WINT_T_ int /* wint_t */ #define _BSD_CLOCKID_T_ int /* clockid_t */ #define _BSD_TIMER_T_ int /* timer_t */ Index: sys/arch/vax/include/stdarg.h =================================================================== RCS file: sys/arch/vax/include/stdarg.h diff -N sys/arch/vax/include/stdarg.h --- sys/arch/vax/include/stdarg.h 22 Jun 2011 04:00:43 -0000 1.18 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,76 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.18 2011/06/22 04:00:43 mrg Exp $ */ - -/*- - * Copyright (c) 1991 The Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)stdarg.h 7.2 (Berkeley) 5/4/91 - */ - -#ifndef _VAX_STDARG_H_ -#define _VAX_STDARG_H_ - -#include -#include - -typedef _BSD_VA_LIST_ va_list; - -#ifdef __lint__ -#define __builtin_next_arg(t) ((t) ? 0 : 0) -#endif - -#if __GNUC_PREREQ__(2, 96) -#if __GNUC_PREREQ__(4, 5) -#define va_start(ap, last) __builtin_va_start((ap), (last)) -#else -#define va_start(ap, last) __builtin_stdarg_start((ap), (last)) -#endif -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) -#else -#define __va_size(type) \ - (((sizeof(type) + sizeof(long) - 1) / sizeof(long)) * sizeof(long)) - -#define va_start(ap, last) \ - ((ap) = (va_list)__builtin_next_arg(last)) - -#define va_arg(ap, type) \ - (*(type *)(void *)((ap) += __va_size(type), (ap) - __va_size(type))) - -#define va_end(ap) - -#define __va_copy(dest, src) ((dest) = (src)) -#endif - -#if !defined(_ANSI_SOURCE) && \ - (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ - defined(_NETBSD_SOURCE)) -#define va_copy(dest, src) __va_copy(dest, src) -#endif - -#endif /* !_VAX_STDARG_H_ */ Index: sys/arch/vax/include/varargs.h =================================================================== RCS file: sys/arch/vax/include/varargs.h diff -N sys/arch/vax/include/varargs.h --- sys/arch/vax/include/varargs.h 11 Dec 2005 12:19:34 -0000 1.11 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,52 +0,0 @@ -/* $NetBSD: varargs.h,v 1.11 2005/12/11 12:19:34 christos Exp $ */ - -/*- - * Copyright (c) 1990 The Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)varargs.h 5.3 (Berkeley) 4/3/91 - */ - -#ifndef _VAX_VARARGS_H_ -#define _VAX_VARARGS_H_ - -#include - -#if __GNUC__ == 1 -#define __va_ellipsis -#else -#define __va_ellipsis ... -#endif - -#define va_alist __builtin_va_alist -#define va_dcl long __builtin_va_alist; __va_ellipsis - -#undef va_start -#define va_start(ap) \ - ((ap) = (va_list)&__builtin_va_alist) - -#endif /* !_VAX_VARARGS_H_ */ Index: sys/arch/x68k/include/stdarg.h =================================================================== RCS file: sys/arch/x68k/include/stdarg.h diff -N sys/arch/x68k/include/stdarg.h --- sys/arch/x68k/include/stdarg.h 16 Mar 1999 16:30:21 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.3 1999/03/16 16:30:21 minoura Exp $ */ - -#include Index: sys/arch/x68k/include/varargs.h =================================================================== RCS file: sys/arch/x68k/include/varargs.h diff -N sys/arch/x68k/include/varargs.h --- sys/arch/x68k/include/varargs.h 5 May 1996 12:17:13 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,4 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1.1.1 1996/05/05 12:17:13 oki Exp $ */ - -/* Just use the common m68k definition */ -#include Index: sys/arch/x68k/stand/libsa/consio.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/x68k/stand/libsa/consio.c,v retrieving revision 1.8 diff -u -p -r1.8 consio.c --- sys/arch/x68k/stand/libsa/consio.c 12 Apr 2011 14:07:35 -0000 1.8 +++ sys/arch/x68k/stand/libsa/consio.c 11 Jul 2011 21:26:37 -0000 @@ -25,7 +25,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include #include Index: sys/arch/x68k/stand/libsa/fd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/x68k/stand/libsa/fd.c,v retrieving revision 1.6 diff -u -p -r1.6 fd.c --- sys/arch/x68k/stand/libsa/fd.c 11 Apr 2011 14:00:02 -0000 1.6 +++ sys/arch/x68k/stand/libsa/fd.c 11 Jul 2011 21:26:38 -0000 @@ -27,7 +27,6 @@ #include #include -#include #include #include "libx68k.h" Index: sys/arch/x68k/stand/libsa/sdcd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/x68k/stand/libsa/sdcd.c,v retrieving revision 1.10 diff -u -p -r1.10 sdcd.c --- sys/arch/x68k/stand/libsa/sdcd.c 9 Jul 2011 15:04:35 -0000 1.10 +++ sys/arch/x68k/stand/libsa/sdcd.c 11 Jul 2011 21:26:40 -0000 @@ -27,7 +27,6 @@ #include #include -#include #include #include Index: sys/arch/xen/i386/npx_hv.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/xen/i386/npx_hv.c,v retrieving revision 1.9 diff -u -p -r1.9 npx_hv.c --- sys/arch/xen/i386/npx_hv.c 1 Jul 2011 18:37:36 -0000 1.9 +++ sys/arch/xen/i386/npx_hv.c 11 Jul 2011 21:37:28 -0000 @@ -35,7 +35,6 @@ __KERNEL_RCSID(0, "$NetBSD: npx_hv.c,v 1 #include #include -#include #include #include Index: sys/arch/xen/include/xen.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/xen/include/xen.h,v retrieving revision 1.33 diff -u -p -r1.33 xen.h --- sys/arch/xen/include/xen.h 17 Apr 2011 09:50:33 -0000 1.33 +++ sys/arch/xen/include/xen.h 12 Jul 2011 06:17:08 -0000 @@ -73,8 +73,10 @@ void xenevt_notify(void); void idle_block(void); #if defined(XENDEBUG) || 1 /* XXX */ +#include + void printk(const char *, ...); -void vprintk(const char *, _BSD_VA_LIST_); +void vprintk(const char *, va_list); #endif #endif Index: sys/arch/xen/xen/xen_debug.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/xen/xen/xen_debug.c,v retrieving revision 1.7 diff -u -p -r1.7 xen_debug.c --- sys/arch/xen/xen/xen_debug.c 23 Oct 2009 02:32:34 -0000 1.7 +++ sys/arch/xen/xen/xen_debug.c 11 Jul 2011 21:37:31 -0000 @@ -58,7 +58,6 @@ __KERNEL_RCSID(0, "$NetBSD: xen_debug.c, #include #include -#include #include #include Index: sys/arch/xen/xen/xencons.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/xen/xen/xencons.c,v retrieving revision 1.36 diff -u -p -r1.36 xencons.c --- sys/arch/xen/xen/xencons.c 24 Apr 2011 16:26:51 -0000 1.36 +++ sys/arch/xen/xen/xencons.c 11 Jul 2011 21:37:33 -0000 @@ -66,7 +66,6 @@ __KERNEL_RCSID(0, "$NetBSD: xencons.c,v #include #include -#include #include #include #include Index: sys/arch/xen/xenbus/xenbus_client.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/xen/xenbus/xenbus_client.c,v retrieving revision 1.10 diff -u -p -r1.10 xenbus_client.c --- sys/arch/xen/xenbus/xenbus_client.c 28 Apr 2009 05:44:43 -0000 1.10 +++ sys/arch/xen/xenbus/xenbus_client.c 11 Jul 2011 21:37:36 -0000 @@ -44,8 +44,6 @@ __KERNEL_RCSID(0, "$NetBSD: xenbus_clien #include #include -#include - #include #include #include Index: sys/arch/xen/xenbus/xenbus_probe.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/xen/xenbus/xenbus_probe.c,v retrieving revision 1.32 diff -u -p -r1.32 xenbus_probe.c --- sys/arch/xen/xenbus/xenbus_probe.c 18 Apr 2011 01:36:25 -0000 1.32 +++ sys/arch/xen/xenbus/xenbus_probe.c 11 Jul 2011 21:37:39 -0000 @@ -47,8 +47,6 @@ __KERNEL_RCSID(0, "$NetBSD: xenbus_probe #include #include -#include - #include /* for xendomain_is_dom0() */ #include #include Index: sys/arch/xen/xenbus/xenbus_xs.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/xen/xenbus/xenbus_xs.c,v retrieving revision 1.20 diff -u -p -r1.20 xenbus_xs.c --- sys/arch/xen/xenbus/xenbus_xs.c 7 Jun 2011 13:52:30 -0000 1.20 +++ sys/arch/xen/xenbus/xenbus_xs.c 11 Jul 2011 21:37:43 -0000 @@ -49,8 +49,6 @@ __KERNEL_RCSID(0, "$NetBSD: xenbus_xs.c, #include #include -#include - #include /* for xendomain_is_dom0() */ #include #include "xenbus_comms.h" Index: sys/arch/zaurus/include/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/zaurus/include/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- sys/arch/zaurus/include/Makefile 19 Jan 2008 13:11:21 -0000 1.5 +++ sys/arch/zaurus/include/Makefile 11 Jul 2011 18:20:46 -0000 @@ -15,9 +15,9 @@ INCS= ansi.h aout_machdep.h apmvar.h asm math.h mcontext.h mutex.h \ param.h pcb.h pmap.h pmc.h proc.h profile.h ptrace.h \ reg.h rwlock.h \ - setjmp.h signal.h stdarg.h sysarch.h \ + setjmp.h signal.h sysarch.h \ trap.h types.h \ - varargs.h vmparam.h \ + vmparam.h \ wchar_limits.h .include Index: sys/arch/zaurus/include/stdarg.h =================================================================== RCS file: sys/arch/zaurus/include/stdarg.h diff -N sys/arch/zaurus/include/stdarg.h --- sys/arch/zaurus/include/stdarg.h 16 Dec 2006 05:48:13 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: stdarg.h,v 1.1 2006/12/16 05:48:13 ober Exp $ */ - -#include Index: sys/arch/zaurus/include/varargs.h =================================================================== RCS file: sys/arch/zaurus/include/varargs.h diff -N sys/arch/zaurus/include/varargs.h --- sys/arch/zaurus/include/varargs.h 16 Dec 2006 05:48:45 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,3 +0,0 @@ -/* $NetBSD: varargs.h,v 1.1 2006/12/16 05:48:45 ober Exp $ */ - -#include Index: sys/arch/zaurus/stand/zboot/unixdev.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/arch/zaurus/stand/zboot/unixdev.c,v retrieving revision 1.1 diff -u -p -r1.1 unixdev.c --- sys/arch/zaurus/stand/zboot/unixdev.c 2 Mar 2009 09:33:02 -0000 1.1 +++ sys/arch/zaurus/stand/zboot/unixdev.c 11 Jul 2011 21:26:42 -0000 @@ -31,8 +31,6 @@ #include #include -#include - #include "boot.h" #include "bootinfo.h" #include "disk.h" Index: sys/compat/common/rtsock_14.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/compat/common/rtsock_14.c,v retrieving revision 1.3 diff -u -p -r1.3 rtsock_14.c --- sys/compat/common/rtsock_14.c 1 Feb 2011 01:39:19 -0000 1.3 +++ sys/compat/common/rtsock_14.c 11 Jul 2011 21:32:33 -0000 @@ -83,8 +83,6 @@ __KERNEL_RCSID(0, "$NetBSD: rtsock_14.c, #include #include -#include - #include #include Index: sys/compat/ndis/nbcompat.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/compat/ndis/nbcompat.c,v retrieving revision 1.11 diff -u -p -r1.11 nbcompat.c --- sys/compat/ndis/nbcompat.c 14 May 2011 12:44:16 -0000 1.11 +++ sys/compat/ndis/nbcompat.c 11 Jul 2011 21:32:36 -0000 @@ -20,8 +20,6 @@ __KERNEL_RCSID(0, "$NetBSD: nbcompat.c,v #include #include -#include - #include "nbcompat.h" /* note: this is also defined in ntoskrnl_var.h, but I didn't want to include Index: sys/compat/ndis/subr_ndis.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/compat/ndis/subr_ndis.c,v retrieving revision 1.24 diff -u -p -r1.24 subr_ndis.c --- sys/compat/ndis/subr_ndis.c 14 May 2011 12:44:16 -0000 1.24 +++ sys/compat/ndis/subr_ndis.c 11 Jul 2011 21:32:39 -0000 @@ -109,8 +109,6 @@ __KERNEL_RCSID(0, "$NetBSD: subr_ndis.c, #endif #include -#include - #include #include Index: sys/compat/ndis/subr_ntoskrnl.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/compat/ndis/subr_ntoskrnl.c,v retrieving revision 1.19 diff -u -p -r1.19 subr_ntoskrnl.c --- sys/compat/ndis/subr_ntoskrnl.c 14 May 2011 12:44:16 -0000 1.19 +++ sys/compat/ndis/subr_ntoskrnl.c 11 Jul 2011 21:32:42 -0000 @@ -66,7 +66,6 @@ __KERNEL_RCSID(0, "$NetBSD: subr_ntoskrn #include #endif #include -#include #ifdef __FreeBSD__ #include Index: sys/ddb/db_output.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/ddb/db_output.c,v retrieving revision 1.30 diff -u -p -r1.30 db_output.c --- sys/ddb/db_output.c 7 Mar 2009 22:02:17 -0000 1.30 +++ sys/ddb/db_output.c 11 Jul 2011 21:12:37 -0000 @@ -35,8 +35,7 @@ __KERNEL_RCSID(0, "$NetBSD: db_output.c, #include #include - -#include +#include #include Index: sys/ddb/db_output.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/ddb/db_output.h,v retrieving revision 1.18 diff -u -p -r1.18 db_output.h --- sys/ddb/db_output.h 14 Mar 2009 14:46:08 -0000 1.18 +++ sys/ddb/db_output.h 11 Jul 2011 23:33:36 -0000 @@ -29,6 +29,8 @@ * Date: 8/90 */ +#include + /* * Printing routines for kernel debugger. */ @@ -37,7 +39,7 @@ void db_putchar(int); int db_print_position(void); void db_printf(const char *, ...) __attribute__((__format__(__printf__,1,2))); -void db_vprintf(const char *, _BSD_VA_LIST_); +void db_vprintf(const char *, va_list); void db_format_radix(char *, size_t, quad_t, int); void db_format_hex(char *, size_t, quad_t, int); void db_end_line(void); Index: sys/dev/apm/apm.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/apm/apm.c,v retrieving revision 1.26 diff -u -p -r1.26 apm.c --- sys/dev/apm/apm.c 10 Mar 2010 20:30:00 -0000 1.26 +++ sys/dev/apm/apm.c 11 Jul 2011 21:32:45 -0000 @@ -61,8 +61,6 @@ __KERNEL_RCSID(0, "$NetBSD: apm.c,v 1.26 #include -#include - #ifdef APMDEBUG #define DPRINTF(f, x) do { if (apmdebug & (f)) printf x; } while (0) Index: sys/dev/hpc/bicons.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/hpc/bicons.c,v retrieving revision 1.13 diff -u -p -r1.13 bicons.c --- sys/dev/hpc/bicons.c 25 Dec 2007 18:33:37 -0000 1.13 +++ sys/dev/hpc/bicons.c 11 Jul 2011 21:32:48 -0000 @@ -48,7 +48,6 @@ __KERNEL_RCSID(0, "$NetBSD: bicons.c,v 1 #include #include #include -#include #include #include Index: sys/dev/hpc/apm/apmdev.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/hpc/apm/apmdev.c,v retrieving revision 1.24 diff -u -p -r1.24 apmdev.c --- sys/dev/hpc/apm/apmdev.c 23 Nov 2009 02:13:45 -0000 1.24 +++ sys/dev/hpc/apm/apmdev.c 11 Jul 2011 21:37:45 -0000 @@ -63,8 +63,6 @@ __KERNEL_RCSID(0, "$NetBSD: apmdev.c,v 1 #include -#include - #ifdef APMDEBUG #define DPRINTF(f, x) do { if (apmdebug & (f)) printf x; } while (0) Index: sys/dev/ic/ath_netbsd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/ic/ath_netbsd.c,v retrieving revision 1.20 diff -u -p -r1.20 ath_netbsd.c --- sys/dev/ic/ath_netbsd.c 7 Mar 2011 11:25:41 -0000 1.20 +++ sys/dev/ic/ath_netbsd.c 11 Jul 2011 21:32:50 -0000 @@ -41,7 +41,6 @@ __KERNEL_RCSID(0, "$NetBSD: ath_netbsd.c #include #include #include -#include #include #include #include Index: sys/dev/ic/hscx.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/ic/hscx.c,v retrieving revision 1.14 diff -u -p -r1.14 hscx.c --- sys/dev/ic/hscx.c 8 Apr 2008 12:07:26 -0000 1.14 +++ sys/dev/ic/hscx.c 11 Jul 2011 21:32:52 -0000 @@ -45,7 +45,6 @@ __KERNEL_RCSID(0, "$NetBSD: hscx.c,v 1.1 #include #include #include -#include #ifdef __FreeBSD__ #include Index: sys/dev/ic/isac.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/ic/isac.c,v retrieving revision 1.22 diff -u -p -r1.22 isac.c --- sys/dev/ic/isac.c 8 Apr 2008 12:07:26 -0000 1.22 +++ sys/dev/ic/isac.c 11 Jul 2011 21:32:54 -0000 @@ -48,7 +48,6 @@ __KERNEL_RCSID(0, "$NetBSD: isac.c,v 1.2 #include #include #include -#include #ifdef __FreeBSD__ #include Index: sys/dev/ic/isic_bchan.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/ic/isic_bchan.c,v retrieving revision 1.13 diff -u -p -r1.13 isic_bchan.c --- sys/dev/ic/isic_bchan.c 8 Apr 2008 12:07:26 -0000 1.13 +++ sys/dev/ic/isic_bchan.c 11 Jul 2011 21:32:56 -0000 @@ -45,7 +45,6 @@ __KERNEL_RCSID(0, "$NetBSD: isic_bchan.c #include #include #include -#include #ifdef __FreeBSD__ #include Index: sys/dev/ic/isic_l1fsm.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/ic/isic_l1fsm.c,v retrieving revision 1.13 diff -u -p -r1.13 isic_l1fsm.c --- sys/dev/ic/isic_l1fsm.c 19 Oct 2007 11:59:54 -0000 1.13 +++ sys/dev/ic/isic_l1fsm.c 11 Jul 2011 21:32:59 -0000 @@ -46,8 +46,6 @@ __KERNEL_RCSID(0, "$NetBSD: isic_l1fsm.c #include #include -#include - #ifdef __FreeBSD__ #include #include Index: sys/dev/ic/isp_netbsd.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/ic/isp_netbsd.h,v retrieving revision 1.73 diff -u -p -r1.73 isp_netbsd.h --- sys/dev/ic/isp_netbsd.h 28 Feb 2011 17:17:55 -0000 1.73 +++ sys/dev/ic/isp_netbsd.h 11 Jul 2011 21:33:03 -0000 @@ -55,8 +55,6 @@ #include #include -#include - #include "opt_isp.h" /* Index: sys/dev/ic/mpt_netbsd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/ic/mpt_netbsd.c,v retrieving revision 1.15 diff -u -p -r1.15 mpt_netbsd.c --- sys/dev/ic/mpt_netbsd.c 28 Apr 2010 22:45:27 -0000 1.15 +++ sys/dev/ic/mpt_netbsd.c 11 Jul 2011 21:33:06 -0000 @@ -81,8 +81,6 @@ __KERNEL_RCSID(0, "$NetBSD: mpt_netbsd.c #include /* pulls in all headers */ -#include /* for mpt_prt() */ - static int mpt_poll(mpt_softc_t *, struct scsipi_xfer *, int); static void mpt_timeout(void *); static void mpt_done(mpt_softc_t *, uint32_t); Index: sys/dev/ppbus/ppbus_msq.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/ppbus/ppbus_msq.c,v retrieving revision 1.9 diff -u -p -r1.9 ppbus_msq.c --- sys/dev/ppbus/ppbus_msq.c 18 Apr 2008 14:56:40 -0000 1.9 +++ sys/dev/ppbus/ppbus_msq.c 11 Jul 2011 21:33:09 -0000 @@ -32,8 +32,6 @@ #include __KERNEL_RCSID(0, "$NetBSD: ppbus_msq.c,v 1.9 2008/04/18 14:56:40 cegger Exp $"); -#include - #include #include Index: sys/dev/scsipi/ses.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/dev/scsipi/ses.c,v retrieving revision 1.42 diff -u -p -r1.42 ses.c --- sys/dev/scsipi/ses.c 12 May 2009 14:44:31 -0000 1.42 +++ sys/dev/scsipi/ses.c 11 Jul 2011 21:33:12 -0000 @@ -47,7 +47,6 @@ __KERNEL_RCSID(0, "$NetBSD: ses.c,v 1.42 #include #include #include -#include #include #include Index: sys/external/bsd/acpica/dist/include/platform/acnetbsd.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.h,v retrieving revision 1.6 diff -u -p -r1.6 acnetbsd.h --- sys/external/bsd/acpica/dist/include/platform/acnetbsd.h 5 Mar 2011 21:38:34 -0000 1.6 +++ sys/external/bsd/acpica/dist/include/platform/acnetbsd.h 11 Jul 2011 21:40:13 -0000 @@ -69,7 +69,6 @@ #include #include -#include #include #define asm __asm Index: sys/external/isc/atheros_hal/ic/ah_osdep.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/external/isc/atheros_hal/ic/ah_osdep.c,v retrieving revision 1.4 diff -u -p -r1.4 ah_osdep.c --- sys/external/isc/atheros_hal/ic/ah_osdep.c 20 Feb 2011 03:55:18 -0000 1.4 +++ sys/external/isc/atheros_hal/ic/ah_osdep.c 11 Jul 2011 21:26:47 -0000 @@ -45,8 +45,6 @@ __KERNEL_RCSID(0, "$NetBSD: ah_osdep.c,v #include #include -#include - #include #include #include Index: sys/external/isc/atheros_hal/ic/ah_osdep.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/external/isc/atheros_hal/ic/ah_osdep.h,v retrieving revision 1.1 diff -u -p -r1.1 ah_osdep.h --- sys/external/isc/atheros_hal/ic/ah_osdep.h 11 Dec 2008 05:37:40 -0000 1.1 +++ sys/external/isc/atheros_hal/ic/ah_osdep.h 11 Jul 2011 21:26:50 -0000 @@ -39,8 +39,6 @@ #include #include -#include - /* * Delay n microseconds. */ Index: sys/fs/hfs/libhfs.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/fs/hfs/libhfs.h,v retrieving revision 1.4 diff -u -p -r1.4 libhfs.h --- sys/fs/hfs/libhfs.h 3 Sep 2008 22:56:51 -0000 1.4 +++ sys/fs/hfs/libhfs.h 11 Jul 2011 21:21:48 -0000 @@ -39,7 +39,6 @@ #if defined(_KERNEL) #include #include -#include #include #endif /* defined(_KERNEL) */ @@ -53,10 +52,6 @@ #include #endif /* !defined(_KERNEL) && !defined(STANDALONE) */ -#ifndef va_list -#define va_list _BSD_VA_LIST_ -#endif /* !va_list */ - #define max(A,B) ((A) > (B) ? (A):(B)) #define min(A,B) ((A) < (B) ? (A):(B)) Index: sys/kern/kern_kthread.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/kern/kern_kthread.c,v retrieving revision 1.34 diff -u -p -r1.34 kern_kthread.c --- sys/kern/kern_kthread.c 24 May 2011 18:18:22 -0000 1.34 +++ sys/kern/kern_kthread.c 11 Jul 2011 21:21:13 -0000 @@ -42,7 +42,6 @@ __KERNEL_RCSID(0, "$NetBSD: kern_kthread #include #include -#include static lwp_t * kthread_jtarget; static kmutex_t kthread_lock; Index: sys/kern/kern_lock.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/kern/kern_lock.c,v retrieving revision 1.150 diff -u -p -r1.150 kern_lock.c --- sys/kern/kern_lock.c 20 Dec 2009 20:42:23 -0000 1.150 +++ sys/kern/kern_lock.c 11 Jul 2011 21:21:15 -0000 @@ -44,7 +44,6 @@ __KERNEL_RCSID(0, "$NetBSD: kern_lock.c, #include #include -#include #include #include Index: sys/kern/kern_module.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/kern/kern_module.c,v retrieving revision 1.78 diff -u -p -r1.78 kern_module.c --- sys/kern/kern_module.c 17 Apr 2011 05:16:28 -0000 1.78 +++ sys/kern/kern_module.c 11 Jul 2011 21:21:16 -0000 @@ -57,8 +57,6 @@ __KERNEL_RCSID(0, "$NetBSD: kern_module. #include -#include - struct vm_map *module_map; char *module_machine; char module_base[MODULE_BASE_SIZE]; Index: sys/kern/kern_sysctl.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/kern/kern_sysctl.c,v retrieving revision 1.230 diff -u -p -r1.230 kern_sysctl.c --- sys/kern/kern_sysctl.c 28 Jan 2011 18:44:44 -0000 1.230 +++ sys/kern/kern_sysctl.c 11 Jul 2011 21:21:19 -0000 @@ -84,7 +84,6 @@ __KERNEL_RCSID(0, "$NetBSD: kern_sysctl. #include #include #include -#include #define MAXDESCLEN 1024 MALLOC_DEFINE(M_SYSCTLNODE, "sysctlnode", "sysctl node structures"); Index: sys/kern/subr_kmem.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/kern/subr_kmem.c,v retrieving revision 1.34 diff -u -p -r1.34 subr_kmem.c --- sys/kern/subr_kmem.c 17 Feb 2011 18:55:31 -0000 1.34 +++ sys/kern/subr_kmem.c 11 Jul 2011 21:21:21 -0000 @@ -79,8 +79,6 @@ __KERNEL_RCSID(0, "$NetBSD: subr_kmem.c, #include -#include - #define KMEM_QUANTUM_SIZE (ALIGNBYTES + 1) #define KMEM_QCACHE_MAX (KMEM_QUANTUM_SIZE * 32) #define KMEM_CACHE_COUNT 16 Index: sys/kern/subr_kobj.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/kern/subr_kobj.c,v retrieving revision 1.42 diff -u -p -r1.42 subr_kobj.c --- sys/kern/subr_kobj.c 18 Jan 2011 08:15:51 -0000 1.42 +++ sys/kern/subr_kobj.c 11 Jul 2011 21:21:23 -0000 @@ -78,8 +78,6 @@ __KERNEL_RCSID(0, "$NetBSD: subr_kobj.c, #include #include -#include - #include static int kobj_relocate(kobj_t, bool); Index: sys/kern/subr_prf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/kern/subr_prf.c,v retrieving revision 1.140 diff -u -p -r1.140 subr_prf.c --- sys/kern/subr_prf.c 24 Apr 2011 18:46:22 -0000 1.140 +++ sys/kern/subr_prf.c 11 Jul 2011 21:21:25 -0000 @@ -82,14 +82,6 @@ __KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v static kmutex_t kprintf_mtx; static bool kprintf_inited = false; -/* - * note that stdarg.h and the ansi style va_start macro is used for both - * ansi and traditional c complers. - * XXX: this requires that stdarg.h define: va_alist and va_dcl - */ -#include - - #ifdef KGDB #include #endif Index: sys/kern/tty.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/kern/tty.c,v retrieving revision 1.244 diff -u -p -r1.244 tty.c --- sys/kern/tty.c 24 Apr 2011 16:26:51 -0000 1.244 +++ sys/kern/tty.c 11 Jul 2011 21:21:28 -0000 @@ -92,8 +92,6 @@ __KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.24 #include #include -#include - static int ttnread(struct tty *); static void ttyblock(struct tty *); static void ttyecho(int, struct tty *); Index: sys/lib/libsa/dev_net.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/lib/libsa/dev_net.c,v retrieving revision 1.25 diff -u -p -r1.25 dev_net.c --- sys/lib/libsa/dev_net.c 8 Aug 2010 18:38:31 -0000 1.25 +++ sys/lib/libsa/dev_net.c 11 Jul 2011 21:33:14 -0000 @@ -47,7 +47,6 @@ * for use by the NFS open code (NFS/lookup). */ -#include #include #include #include Index: sys/lib/libsa/panic.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/lib/libsa/panic.c,v retrieving revision 1.6 diff -u -p -r1.6 panic.c --- sys/lib/libsa/panic.c 24 Nov 2007 13:20:56 -0000 1.6 +++ sys/lib/libsa/panic.c 11 Jul 2011 21:33:29 -0000 @@ -27,21 +27,12 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#ifdef __STDC__ -#include -#else -#include -#endif +#include #include "stand.h" __dead void -#ifdef __STDC__ panic(const char *fmt, ...) -#else -panic(fmt /*, va_alist */) - char *fmt; -#endif { va_list ap; #ifndef LIBSA_NO_FS_CLOSE @@ -53,11 +44,7 @@ panic(fmt /*, va_alist */) } #endif -#ifdef __STDC__ va_start(ap, fmt); -#else - va_start(ap); -#endif vprintf(fmt, ap); printf("\n"); va_end(ap); Index: sys/lib/libsa/printf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/lib/libsa/printf.c,v retrieving revision 1.17 diff -u -p -r1.17 printf.c --- sys/lib/libsa/printf.c 11 Dec 2005 12:24:46 -0000 1.17 +++ sys/lib/libsa/printf.c 11 Jul 2011 21:33:43 -0000 @@ -33,29 +33,16 @@ #include #include -#ifdef __STDC__ -#include -#else -#include -#endif +#include #include "stand.h" void -#ifdef __STDC__ printf(const char *fmt, ...) -#else -printf(fmt, va_alist) - char *fmt; -#endif { va_list ap; -#ifdef __STDC__ va_start(ap, fmt); -#else - va_start(ap); -#endif vprintf(fmt, ap); va_end(ap); } Index: sys/lib/libsa/snprintf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/lib/libsa/snprintf.c,v retrieving revision 1.4 diff -u -p -r1.4 snprintf.c --- sys/lib/libsa/snprintf.c 24 Nov 2007 13:20:57 -0000 1.4 +++ sys/lib/libsa/snprintf.c 11 Jul 2011 21:33:56 -0000 @@ -33,31 +33,17 @@ #include #include -#ifdef __STDC__ -#include -#else -#include -#endif +#include #include "stand.h" int -#ifdef __STDC__ snprintf(char *buf, size_t size, const char *fmt, ...) -#else -snprintf(buf, size, fmt, va_alist) - char *buf, *fmt; - size_t size; -#endif { va_list ap; int len; -#ifdef __STDC__ va_start(ap, fmt); -#else - va_start(ap); -#endif len = vsnprintf(buf, size, fmt, ap); va_end(ap); return len; Index: sys/lib/libsa/sprintf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/lib/libsa/sprintf.c,v retrieving revision 1.4 diff -u -p -r1.4 sprintf.c --- sys/lib/libsa/sprintf.c 24 Nov 2007 13:20:57 -0000 1.4 +++ sys/lib/libsa/sprintf.c 11 Jul 2011 21:21:58 -0000 @@ -33,30 +33,16 @@ #include #include -#ifdef __STDC__ -#include -#else -#include -#endif #include "stand.h" int -#ifdef __STDC__ sprintf(char *buf, const char *fmt, ...) -#else -sprintf(buf, fmt, va_alist) - char *buf, *fmt; -#endif { va_list ap; int len; -#ifdef __STDC__ va_start(ap, fmt); -#else - va_start(ap); -#endif len = vsnprintf(buf, -(size_t)buf, fmt, ap); va_end(ap); return len; Index: sys/lib/libsa/stand.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/lib/libsa/stand.h,v retrieving revision 1.72 diff -u -p -r1.72 stand.h --- sys/lib/libsa/stand.h 16 Jun 2011 13:44:56 -0000 1.72 +++ sys/lib/libsa/stand.h 11 Jul 2011 20:40:03 -0000 @@ -67,6 +67,7 @@ #include #include #include +#include #include "saioctl.h" #include "saerrno.h" @@ -227,11 +228,11 @@ int sprintf(char *, const char *, ...) __attribute__((__format__(__printf__, 2, 3))); int snprintf(char *, size_t, const char *, ...) __attribute__((__format__(__printf__, 3, 4))); -void vprintf(const char *, _BSD_VA_LIST_) +void vprintf(const char *, va_list) __attribute__((__format__(__printf__, 1, 0))); -int vsprintf(char *, const char *, _BSD_VA_LIST_) +int vsprintf(char *, const char *, va_list) __attribute__((__format__(__printf__, 2, 0))); -int vsnprintf(char *, size_t, const char *, _BSD_VA_LIST_) +int vsnprintf(char *, size_t, const char *, va_list) __attribute__((__format__(__printf__, 3, 0))); void twiddle(void); void gets(char *); Index: sys/lib/libsa/subr_prf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/lib/libsa/subr_prf.c,v retrieving revision 1.20 diff -u -p -r1.20 subr_prf.c --- sys/lib/libsa/subr_prf.c 20 May 2011 16:33:07 -0000 1.20 +++ sys/lib/libsa/subr_prf.c 11 Jul 2011 21:22:00 -0000 @@ -38,7 +38,6 @@ #include #include #include /* XXX: for intptr_t */ -#include #include "stand.h" Index: sys/lib/libsa/vsprintf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/lib/libsa/vsprintf.c,v retrieving revision 1.4 diff -u -p -r1.4 vsprintf.c --- sys/lib/libsa/vsprintf.c 24 Nov 2007 13:20:58 -0000 1.4 +++ sys/lib/libsa/vsprintf.c 11 Jul 2011 21:22:02 -0000 @@ -33,11 +33,6 @@ #include #include -#ifdef __STDC__ -#include -#else -#include -#endif #include "stand.h" Index: sys/net/if_spppsubr.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/net/if_spppsubr.c,v retrieving revision 1.120 diff -u -p -r1.120 if_spppsubr.c --- sys/net/if_spppsubr.c 20 Apr 2010 14:32:03 -0000 1.120 +++ sys/net/if_spppsubr.c 11 Jul 2011 21:21:32 -0000 @@ -73,8 +73,6 @@ __KERNEL_RCSID(0, "$NetBSD: if_spppsubr. #include #include -#include - #include #include #include Index: sys/net/if_srt.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/net/if_srt.c,v retrieving revision 1.15 diff -u -p -r1.15 if_srt.c --- sys/net/if_srt.c 9 Sep 2010 03:24:57 -0000 1.15 +++ sys/net/if_srt.c 11 Jul 2011 21:21:33 -0000 @@ -32,7 +32,6 @@ __KERNEL_RCSID(0, "$NetBSD: if_srt.c,v 1 #include #include #include -#include #include "if_srt.h" Index: sys/net/if_stf.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/net/if_stf.c,v retrieving revision 1.75 diff -u -p -r1.75 if_stf.c --- sys/net/if_stf.c 5 Apr 2010 07:22:24 -0000 1.75 +++ sys/net/if_stf.c 11 Jul 2011 21:21:35 -0000 @@ -114,8 +114,6 @@ __KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1 #include -#include - #include #include "stf.h" Index: sys/net/radix.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/net/radix.c,v retrieving revision 1.43 diff -u -p -r1.43 radix.c --- sys/net/radix.c 27 May 2009 17:46:50 -0000 1.43 +++ sys/net/radix.c 11 Jul 2011 21:21:37 -0000 @@ -52,7 +52,6 @@ __KERNEL_RCSID(0, "$NetBSD: radix.c,v 1. #else #include #endif -#include #include #include #endif Index: sys/net/raw_usrreq.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/net/raw_usrreq.c,v retrieving revision 1.36 diff -u -p -r1.36 raw_usrreq.c --- sys/net/raw_usrreq.c 11 Jan 2011 10:52:42 -0000 1.36 +++ sys/net/raw_usrreq.c 11 Jul 2011 21:21:38 -0000 @@ -50,8 +50,6 @@ __KERNEL_RCSID(0, "$NetBSD: raw_usrreq.c #include #include -#include - /* * Initialize raw connection block q. */ Index: sys/net/rtsock.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/net/rtsock.c,v retrieving revision 1.135 diff -u -p -r1.135 rtsock.c --- sys/net/rtsock.c 31 Mar 2011 19:40:52 -0000 1.135 +++ sys/net/rtsock.c 11 Jul 2011 21:21:40 -0000 @@ -131,8 +131,6 @@ DOMAIN_DEFINE(routedomain); /* forward d #define COMPATCALL(name, args) do { } while (/*CONSTCOND*/ 0) #endif -#include - struct route_info COMPATNAME(route_info) = { .ri_dst = { .sa_len = 2, .sa_family = PF_XROUTE, }, .ri_src = { .sa_len = 2, .sa_family = PF_XROUTE, }, Index: sys/net/agr/ieee8023ad_lacp_debug.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/net/agr/ieee8023ad_lacp_debug.c,v retrieving revision 1.5 diff -u -p -r1.5 ieee8023ad_lacp_debug.c --- sys/net/agr/ieee8023ad_lacp_debug.c 16 Dec 2008 22:35:38 -0000 1.5 +++ sys/net/agr/ieee8023ad_lacp_debug.c 11 Jul 2011 21:22:05 -0000 @@ -33,8 +33,6 @@ __KERNEL_RCSID(0, "$NetBSD: ieee8023ad_l #include #include -#include - #include #include Index: sys/net80211/ieee80211_input.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/net80211/ieee80211_input.c,v retrieving revision 1.70 diff -u -p -r1.70 ieee80211_input.c --- sys/net80211/ieee80211_input.c 5 Apr 2010 07:22:24 -0000 1.70 +++ sys/net80211/ieee80211_input.c 11 Jul 2011 21:21:43 -0000 @@ -77,7 +77,6 @@ __KERNEL_RCSID(0, "$NetBSD: ieee80211_in const struct timeval ieee80211_merge_print_intvl = {.tv_sec = 1, .tv_usec = 0}; #ifdef IEEE80211_DEBUG -#include /* * Decide if a received management frame should be Index: sys/net80211/ieee80211_netbsd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/net80211/ieee80211_netbsd.c,v retrieving revision 1.17 diff -u -p -r1.17 ieee80211_netbsd.c --- sys/net80211/ieee80211_netbsd.c 12 Nov 2008 12:36:28 -0000 1.17 +++ sys/net80211/ieee80211_netbsd.c 11 Jul 2011 21:21:44 -0000 @@ -44,8 +44,6 @@ __KERNEL_RCSID(0, "$NetBSD: ieee80211_ne #include #include -#include - #include #include Index: sys/netatalk/ddp_output.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netatalk/ddp_output.c,v retrieving revision 1.14 diff -u -p -r1.14 ddp_output.c --- sys/netatalk/ddp_output.c 6 Apr 2008 18:46:56 -0000 1.14 +++ sys/netatalk/ddp_output.c 11 Jul 2011 21:21:47 -0000 @@ -49,8 +49,6 @@ __KERNEL_RCSID(0, "$NetBSD: ddp_output.c #include #include -#include - int ddp_cksum = 1; int Index: sys/netbt/l2cap_signal.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netbt/l2cap_signal.c,v retrieving revision 1.12 diff -u -p -r1.12 l2cap_signal.c --- sys/netbt/l2cap_signal.c 6 Feb 2011 18:51:00 -0000 1.12 +++ sys/netbt/l2cap_signal.c 11 Jul 2011 21:28:47 -0000 @@ -40,8 +40,6 @@ __KERNEL_RCSID(0, "$NetBSD: l2cap_signal #include #include -#include - #include #include #include Index: sys/netinet/igmp.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/igmp.c,v retrieving revision 1.51 diff -u -p -r1.51 igmp.c --- sys/netinet/igmp.c 16 Sep 2009 15:23:04 -0000 1.51 +++ sys/netinet/igmp.c 11 Jul 2011 21:28:44 -0000 @@ -64,8 +64,6 @@ __KERNEL_RCSID(0, "$NetBSD: igmp.c,v 1.5 #include #include -#include - #define IP_MULTICASTOPTS 0 static struct pool igmp_rti_pool; Index: sys/netinet/in_gif.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/in_gif.c,v retrieving revision 1.60 diff -u -p -r1.60 in_gif.c --- sys/netinet/in_gif.c 7 Nov 2008 00:20:18 -0000 1.60 +++ sys/netinet/in_gif.c 11 Jul 2011 21:28:42 -0000 @@ -67,8 +67,6 @@ __KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1 #include "gif.h" -#include - #include static int gif_validate4(const struct ip *, struct gif_softc *, Index: sys/netinet/ip_carp.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/ip_carp.c,v retrieving revision 1.44 diff -u -p -r1.44 ip_carp.c --- sys/netinet/ip_carp.c 11 Aug 2010 11:06:42 -0000 1.44 +++ sys/netinet/ip_carp.c 11 Jul 2011 21:28:40 -0000 @@ -67,8 +67,6 @@ __KERNEL_RCSID(0, "$NetBSD: ip_carp.c,v #include #include -#include - #if NFDDI > 0 #include #endif Index: sys/netinet/ip_encap.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/ip_encap.c,v retrieving revision 1.38 diff -u -p -r1.38 ip_encap.c --- sys/netinet/ip_encap.c 27 May 2009 17:46:49 -0000 1.38 +++ sys/netinet/ip_encap.c 11 Jul 2011 21:28:55 -0000 @@ -109,8 +109,6 @@ __KERNEL_RCSID(0, "$NetBSD: ip_encap.c,v #include #endif -#include - #include enum direction { INBOUND, OUTBOUND }; Index: sys/netinet/ip_etherip.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/ip_etherip.c,v retrieving revision 1.13 diff -u -p -r1.13 ip_etherip.c --- sys/netinet/ip_etherip.c 5 Apr 2010 07:22:50 -0000 1.13 +++ sys/netinet/ip_etherip.c 11 Jul 2011 21:28:58 -0000 @@ -89,8 +89,6 @@ __KERNEL_RCSID(0, "$NetBSD: ip_etherip.c #include #include -#include - int ip_etherip_output(struct ifnet *ifp, struct mbuf *m) { Index: sys/netinet/ip_icmp.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/ip_icmp.c,v retrieving revision 1.124 diff -u -p -r1.124 ip_icmp.c --- sys/netinet/ip_icmp.c 2 Jul 2010 07:02:00 -0000 1.124 +++ sys/netinet/ip_icmp.c 11 Jul 2011 21:29:00 -0000 @@ -133,8 +133,6 @@ __KERNEL_RCSID(0, "$NetBSD: ip_icmp.c,v #include #endif /* FAST_IPSEC*/ -#include - /* * ICMP routines: error generation, receive packet processing, and * routines to turnaround packets back to the originator, and Index: sys/netinet/ip_mroute.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/ip_mroute.c,v retrieving revision 1.118 diff -u -p -r1.118 ip_mroute.c --- sys/netinet/ip_mroute.c 18 Mar 2009 16:00:22 -0000 1.118 +++ sys/netinet/ip_mroute.c 11 Jul 2011 21:29:03 -0000 @@ -146,8 +146,6 @@ __KERNEL_RCSID(0, "$NetBSD: ip_mroute.c, #include #endif -#include - #define IP_MULTICASTOPTS 0 #define M_PULLUP(m, len) \ do { \ Index: sys/netinet/ip_output.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/ip_output.c,v retrieving revision 1.208 diff -u -p -r1.208 ip_output.c --- sys/netinet/ip_output.c 14 Apr 2011 15:53:36 -0000 1.208 +++ sys/netinet/ip_output.c 11 Jul 2011 21:29:06 -0000 @@ -129,8 +129,6 @@ __KERNEL_RCSID(0, "$NetBSD: ip_output.c, #include #endif -#include - #ifdef IPSEC #include #include Index: sys/netinet/raw_ip.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/raw_ip.c,v retrieving revision 1.111 diff -u -p -r1.111 raw_ip.c --- sys/netinet/raw_ip.c 9 Dec 2009 00:45:25 -0000 1.111 +++ sys/netinet/raw_ip.c 11 Jul 2011 21:29:08 -0000 @@ -94,8 +94,6 @@ __KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1 #include #include -#include - #ifdef IPSEC #include #include Index: sys/netinet/tcp_input.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/tcp_input.c,v retrieving revision 1.314 diff -u -p -r1.314 tcp_input.c --- sys/netinet/tcp_input.c 25 May 2011 23:20:57 -0000 1.314 +++ sys/netinet/tcp_input.c 11 Jul 2011 21:29:10 -0000 @@ -215,8 +215,6 @@ __KERNEL_RCSID(0, "$NetBSD: tcp_input.c, #include #include -#include - #ifdef IPSEC #include #include Index: sys/netinet/tcp_sack.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/tcp_sack.c,v retrieving revision 1.26 diff -u -p -r1.26 tcp_sack.c --- sys/netinet/tcp_sack.c 14 Apr 2011 15:54:31 -0000 1.26 +++ sys/netinet/tcp_sack.c 11 Jul 2011 21:29:12 -0000 @@ -160,8 +160,6 @@ __KERNEL_RCSID(0, "$NetBSD: tcp_sack.c,v #include #include -#include - /* SACK block pool. */ static struct pool sackhole_pool; Index: sys/netinet/tcp_vtw.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/tcp_vtw.c,v retrieving revision 1.7 diff -u -p -r1.7 tcp_vtw.c --- sys/netinet/tcp_vtw.c 6 Jun 2011 19:15:43 -0000 1.7 +++ sys/netinet/tcp_vtw.c 11 Jul 2011 21:29:15 -0000 @@ -74,7 +74,6 @@ #include #include -#include #include __KERNEL_RCSID(0, "$NetBSD: tcp_vtw.c,v 1.7 2011/06/06 19:15:43 dyoung Exp $"); Index: sys/netinet/udp_usrreq.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet/udp_usrreq.c,v retrieving revision 1.181 diff -u -p -r1.181 udp_usrreq.c --- sys/netinet/udp_usrreq.c 3 Jul 2011 09:03:32 -0000 1.181 +++ sys/netinet/udp_usrreq.c 11 Jul 2011 21:29:17 -0000 @@ -118,8 +118,6 @@ __KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c #include #endif -#include - #ifdef FAST_IPSEC #include #include Index: sys/netinet6/ah_input.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet6/ah_input.c,v retrieving revision 1.58 diff -u -p -r1.58 ah_input.c --- sys/netinet6/ah_input.c 18 Mar 2009 15:14:31 -0000 1.58 +++ sys/netinet6/ah_input.c 11 Jul 2011 21:29:22 -0000 @@ -81,8 +81,6 @@ __KERNEL_RCSID(0, "$NetBSD: ah_input.c,v #include #include -#include - #include /*#define IPLEN_FLIPPED*/ Index: sys/netinet6/esp_input.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet6/esp_input.c,v retrieving revision 1.49 diff -u -p -r1.49 esp_input.c --- sys/netinet6/esp_input.c 18 Mar 2009 16:00:22 -0000 1.49 +++ sys/netinet6/esp_input.c 11 Jul 2011 21:29:24 -0000 @@ -81,8 +81,6 @@ __KERNEL_RCSID(0, "$NetBSD: esp_input.c, #include #include -#include - #include /*#define IPLEN_FLIPPED*/ Index: sys/netinet6/ip6_etherip.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet6/ip6_etherip.c,v retrieving revision 1.14 diff -u -p -r1.14 ip6_etherip.c --- sys/netinet6/ip6_etherip.c 24 Aug 2010 00:07:00 -0000 1.14 +++ sys/netinet6/ip6_etherip.c 11 Jul 2011 21:29:27 -0000 @@ -95,8 +95,6 @@ __KERNEL_RCSID(0, "$NetBSD: ip6_etherip. #include #include -#include - int ip6_etherip_output(struct ifnet *ifp, struct mbuf *m) { Index: sys/netinet6/ipcomp_core.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet6/ipcomp_core.c,v retrieving revision 1.29 diff -u -p -r1.29 ipcomp_core.c --- sys/netinet6/ipcomp_core.c 18 Mar 2009 16:00:23 -0000 1.29 +++ sys/netinet6/ipcomp_core.c 11 Jul 2011 21:29:30 -0000 @@ -61,8 +61,6 @@ __KERNEL_RCSID(0, "$NetBSD: ipcomp_core. #include #include -#include - #include static void *deflate_alloc(void *, u_int, u_int); Index: sys/netinet6/ipcomp_input.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet6/ipcomp_input.c,v retrieving revision 1.37 diff -u -p -r1.37 ipcomp_input.c --- sys/netinet6/ipcomp_input.c 1 Apr 2011 08:25:02 -0000 1.37 +++ sys/netinet6/ipcomp_input.c 11 Jul 2011 21:29:32 -0000 @@ -77,8 +77,6 @@ __KERNEL_RCSID(0, "$NetBSD: ipcomp_input #include #include -#include - #include /*#define IPLEN_FLIPPED*/ Index: sys/netinet6/ipcomp_output.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netinet6/ipcomp_output.c,v retrieving revision 1.29 diff -u -p -r1.29 ipcomp_output.c --- sys/netinet6/ipcomp_output.c 18 Mar 2009 16:00:23 -0000 1.29 +++ sys/netinet6/ipcomp_output.c 11 Jul 2011 21:29:34 -0000 @@ -75,8 +75,6 @@ __KERNEL_RCSID(0, "$NetBSD: ipcomp_outpu #include #include -#include - #include static int ipcomp_output(struct mbuf *, u_char *, struct mbuf *, Index: sys/netipsec/ipsec_input.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netipsec/ipsec_input.c,v retrieving revision 1.27 diff -u -p -r1.27 ipsec_input.c --- sys/netipsec/ipsec_input.c 21 Feb 2011 22:54:45 -0000 1.27 +++ sys/netipsec/ipsec_input.c 11 Jul 2011 21:29:36 -0000 @@ -100,8 +100,6 @@ __KERNEL_RCSID(0, "$NetBSD: ipsec_input. #include -#include - #include #define IPSEC_ISTAT(p, x, y, z) \ Index: sys/netipsec/ipsec_netbsd.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netipsec/ipsec_netbsd.c,v retrieving revision 1.32 diff -u -p -r1.32 ipsec_netbsd.c --- sys/netipsec/ipsec_netbsd.c 4 May 2008 07:22:15 -0000 1.32 +++ sys/netipsec/ipsec_netbsd.c 11 Jul 2011 21:29:39 -0000 @@ -82,10 +82,6 @@ __KERNEL_RCSID(0, "$NetBSD: ipsec_netbsd #include #endif -#include - - - #include /* assumes that ip header and ah header are contiguous on mbuf */ Index: sys/netipsec/key.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netipsec/key.c,v retrieving revision 1.73 diff -u -p -r1.73 key.c --- sys/netipsec/key.c 9 Jun 2011 19:54:18 -0000 1.73 +++ sys/netipsec/key.c 11 Jul 2011 21:29:41 -0000 @@ -107,9 +107,6 @@ __KERNEL_RCSID(0, "$NetBSD: key.c,v 1.73 #include -#include - - #include #define FULLMASK 0xff Index: sys/netipsec/keysock.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netipsec/keysock.c,v retrieving revision 1.20 diff -u -p -r1.20 keysock.c --- sys/netipsec/keysock.c 16 May 2011 10:04:02 -0000 1.20 +++ sys/netipsec/keysock.c 11 Jul 2011 21:29:43 -0000 @@ -63,8 +63,6 @@ __KERNEL_RCSID(0, "$NetBSD: keysock.c,v #include #include -#include - typedef int pr_output_t (struct mbuf *, struct socket *); struct key_cb { Index: sys/netipsec/xform_ipip.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netipsec/xform_ipip.c,v retrieving revision 1.27 diff -u -p -r1.27 xform_ipip.c --- sys/netipsec/xform_ipip.c 6 Jun 2011 16:48:35 -0000 1.27 +++ sys/netipsec/xform_ipip.c 11 Jul 2011 21:29:47 -0000 @@ -98,8 +98,6 @@ __KERNEL_RCSID(0, "$NetBSD: xform_ipip.c #include #include -#include - #ifdef __FreeBSD__ typedef void pr_in_input_t (struct mbuf *, int, int); /* XXX FIX THIS */ #else Index: sys/netiso/clnp_input.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/clnp_input.c,v retrieving revision 1.37 diff -u -p -r1.37 clnp_input.c --- sys/netiso/clnp_input.c 18 Mar 2009 10:22:44 -0000 1.37 +++ sys/netiso/clnp_input.c 11 Jul 2011 21:29:50 -0000 @@ -94,8 +94,6 @@ __KERNEL_RCSID(0, "$NetBSD: clnp_input.c #include #include -#include - #ifdef ISO u_char clnp_protox[ISOPROTO_MAX]; struct clnl_protosw clnl_protox[256]; Index: sys/netiso/clnp_output.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/clnp_output.c,v retrieving revision 1.25 diff -u -p -r1.25 clnp_output.c --- sys/netiso/clnp_output.c 18 Apr 2009 14:58:06 -0000 1.25 +++ sys/netiso/clnp_output.c 11 Jul 2011 21:29:52 -0000 @@ -81,8 +81,6 @@ __KERNEL_RCSID(0, "$NetBSD: clnp_output. #include #include -#include - static struct clnp_fixed dt_template = { ISO8473_CLNP, /* network identifier */ 0, /* length */ Index: sys/netiso/clnp_raw.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/clnp_raw.c,v retrieving revision 1.33 diff -u -p -r1.33 clnp_raw.c --- sys/netiso/clnp_raw.c 17 Dec 2008 20:51:38 -0000 1.33 +++ sys/netiso/clnp_raw.c 11 Jul 2011 21:29:54 -0000 @@ -84,8 +84,6 @@ __KERNEL_RCSID(0, "$NetBSD: clnp_raw.c,v #include /* XXX -- defines SOL_NETWORK */ -#include - struct sockproto rclnp_proto = {PF_ISO, 0}; /* Index: sys/netiso/cltp_usrreq.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/cltp_usrreq.c,v retrieving revision 1.40 diff -u -p -r1.40 cltp_usrreq.c --- sys/netiso/cltp_usrreq.c 18 Apr 2009 14:58:06 -0000 1.40 +++ sys/netiso/cltp_usrreq.c 11 Jul 2011 21:29:58 -0000 @@ -57,8 +57,6 @@ __KERNEL_RCSID(0, "$NetBSD: cltp_usrreq. #include #include #include - -#include #endif Index: sys/netiso/esis.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/esis.c,v retrieving revision 1.56 diff -u -p -r1.56 esis.c --- sys/netiso/esis.c 18 Apr 2009 14:58:06 -0000 1.56 +++ sys/netiso/esis.c 11 Jul 2011 21:30:00 -0000 @@ -92,8 +92,6 @@ __KERNEL_RCSID(0, "$NetBSD: esis.c,v 1.5 #include #include -#include - /* * Global variables to esis implementation * Index: sys/netiso/idrp_usrreq.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/idrp_usrreq.c,v retrieving revision 1.23 diff -u -p -r1.23 idrp_usrreq.c --- sys/netiso/idrp_usrreq.c 18 Apr 2009 14:58:06 -0000 1.23 +++ sys/netiso/idrp_usrreq.c 11 Jul 2011 21:30:02 -0000 @@ -56,8 +56,6 @@ __KERNEL_RCSID(0, "$NetBSD: idrp_usrreq. #include #include -#include - LIST_HEAD(, rawcb) idrp_pcb; struct isopcb idrp_isop; static struct sockaddr_iso idrp_addrs[2] = Index: sys/netiso/if_eon.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/if_eon.c,v retrieving revision 1.70 diff -u -p -r1.70 if_eon.c --- sys/netiso/if_eon.c 9 Mar 2011 22:04:52 -0000 1.70 +++ sys/netiso/if_eon.c 11 Jul 2011 21:30:05 -0000 @@ -107,8 +107,6 @@ __KERNEL_RCSID(0, "$NetBSD: if_eon.c,v 1 #include #include -#include - #define EOK 0 struct ifnet eonif[1]; Index: sys/netiso/tp_cons.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/tp_cons.c,v retrieving revision 1.27 diff -u -p -r1.27 tp_cons.c --- sys/netiso/tp_cons.c 23 Apr 2008 09:57:59 -0000 1.27 +++ sys/netiso/tp_cons.c 11 Jul 2011 21:30:09 -0000 @@ -75,8 +75,6 @@ __KERNEL_RCSID(0, "$NetBSD: tp_cons.c,v #include #include -#include - int tpcons_output(struct mbuf *m0, ...) { Index: sys/netiso/tp_inet.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/tp_inet.c,v retrieving revision 1.39 diff -u -p -r1.39 tp_inet.c --- sys/netiso/tp_inet.c 18 Apr 2009 14:58:06 -0000 1.39 +++ sys/netiso/tp_inet.c 11 Jul 2011 21:30:12 -0000 @@ -104,8 +104,6 @@ __KERNEL_RCSID(0, "$NetBSD: tp_inet.c,v #include #endif -#include - /* * NAME: in_getsufx() * Index: sys/netiso/tp_input.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/tp_input.c,v retrieving revision 1.34 diff -u -p -r1.34 tp_input.c --- sys/netiso/tp_input.c 18 Apr 2009 14:58:06 -0000 1.34 +++ sys/netiso/tp_input.c 11 Jul 2011 21:30:15 -0000 @@ -109,8 +109,6 @@ __KERNEL_RCSID(0, "$NetBSD: tp_input.c,v #include #include -#include - static struct socket * tp_newsocket(struct socket *, struct sockaddr *, void *, u_int, u_int); Index: sys/netiso/tp_iso.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netiso/tp_iso.c,v retrieving revision 1.34 diff -u -p -r1.34 tp_iso.c --- sys/netiso/tp_iso.c 18 Mar 2009 16:00:23 -0000 1.34 +++ sys/netiso/tp_iso.c 11 Jul 2011 21:32:25 -0000 @@ -106,8 +106,6 @@ __KERNEL_RCSID(0, "$NetBSD: tp_iso.c,v 1 #include #include -#include - /* * CALLED FROM: * pr_usrreq() on PRU_BIND, PRU_CONNECT, PRU_ACCEPT, and PRU_PEERADDR Index: sys/netkey/key.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netkey/key.c,v retrieving revision 1.178 diff -u -p -r1.178 key.c --- sys/netkey/key.c 5 Sep 2010 06:52:53 -0000 1.178 +++ sys/netkey/key.c 11 Jul 2011 21:32:28 -0000 @@ -96,8 +96,6 @@ __KERNEL_RCSID(0, "$NetBSD: key.c,v 1.17 #include -#include - #include "rnd.h" #if NRND > 0 #include Index: sys/netkey/keysock.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/netkey/keysock.c,v retrieving revision 1.53 diff -u -p -r1.53 keysock.c --- sys/netkey/keysock.c 9 May 2009 11:36:17 -0000 1.53 +++ sys/netkey/keysock.c 11 Jul 2011 21:32:31 -0000 @@ -60,8 +60,6 @@ __KERNEL_RCSID(0, "$NetBSD: keysock.c,v #include #include -#include - struct sockaddr key_dst = { .sa_len = 2, .sa_family = PF_KEY, }; struct sockaddr key_src = { .sa_len = 2, .sa_family = PF_KEY, }; Index: sys/rump/librump/rumpkern/threads.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/rump/librump/rumpkern/threads.c,v retrieving revision 1.13 diff -u -p -r1.13 threads.c --- sys/rump/librump/rumpkern/threads.c 29 Oct 2010 15:32:24 -0000 1.13 +++ sys/rump/librump/rumpkern/threads.c 11 Jul 2011 21:37:49 -0000 @@ -38,8 +38,6 @@ __KERNEL_RCSID(0, "$NetBSD: threads.c,v #include #include -#include - #include #include "rump_private.h" Index: sys/sys/Makefile =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/sys/Makefile,v retrieving revision 1.135 diff -u -p -r1.135 Makefile --- sys/sys/Makefile 8 Jul 2011 19:09:01 -0000 1.135 +++ sys/sys/Makefile 11 Jul 2011 20:52:26 -0000 @@ -33,7 +33,7 @@ INCS= acct.h agpio.h aio.h ansi.h aout_m sha2.h shm.h siginfo.h signal.h signalvar.h sigtypes.h simplelock.h \ sleepq.h socket.h \ socketvar.h sockio.h specificdata.h stat.h statvfs.h \ - syscall.h syscallargs.h sysctl.h stdint.h swap.h \ + syscall.h syscallargs.h sysctl.h stdarg.h stdint.h swap.h \ syncobj.h syslimits.h syslog.h \ tape.h termios.h time.h timeb.h timepps.h times.h \ timex.h tls.h trace.h tree.h tty.h ttychars.h ttycom.h \ @@ -46,6 +46,7 @@ INCSYMLINKS=\ sys/exec_elf.h /usr/include/elf.h \ sys/fcntl.h /usr/include/fcntl.h \ sys/poll.h /usr/include/poll.h \ + sys/stdarg.h /usr/include/stdarg.h \ sys/stdint.h /usr/include/stdint.h \ sys/syslog.h /usr/include/syslog.h \ sys/termios.h /usr/include/termios.h \ Index: sys/sys/ansi.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/sys/ansi.h,v retrieving revision 1.13 diff -u -p -r1.13 ansi.h --- sys/sys/ansi.h 27 Mar 2010 22:14:10 -0000 1.13 +++ sys/sys/ansi.h 15 Jul 2011 11:50:01 -0000 @@ -66,4 +66,10 @@ typedef union { #define _BSD_WCTYPE_T_ __wctype_t /* wctype_t */ #define _BSD_MBSTATE_T_ __mbstate_t /* mbstate_t */ +#ifdef __lint__ +typedef char *__va_list; +#else +typedef __builtin_va_list __va_list; +#endif + #endif /* !_SYS_ANSI_H_ */ Index: sys/sys/kprintf.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/sys/kprintf.h,v retrieving revision 1.10 diff -u -p -r1.10 kprintf.h --- sys/sys/kprintf.h 1 Jan 2009 15:10:20 -0000 1.10 +++ sys/sys/kprintf.h 11 Jul 2011 20:32:59 -0000 @@ -37,6 +37,8 @@ #ifndef _SYS_KPRINTF_H_ #define _SYS_KPRINTF_H_ +#include + /* * Implementation internals of the kernel printf. Exposing them here * allows other subsystems to implement precisely the printf semantics @@ -60,7 +62,7 @@ void kprintf_unlock(void); /* * NOTE: the kprintf mutex must be held when these functions are called! */ -int kprintf(const char *, int, void *, char *, _BSD_VA_LIST_); +int kprintf(const char *, int, void *, char *, va_list); void klogpri(int); #endif /* _SYS_KPRINTF_H_ */ Index: sys/sys/stdarg.h =================================================================== RCS file: sys/sys/stdarg.h diff -N sys/sys/stdarg.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sys/sys/stdarg.h 15 Jul 2011 11:51:47 -0000 @@ -0,0 +1,66 @@ +/* $NetBSD$ */ + +/*- + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)stdarg.h 8.1 (Berkeley) 6/10/93 + */ + +#ifndef _SYS_STDARG_H_ +#define _SYS_STDARG_H_ + +#include +#include + +#ifdef __lint__ +#define __builtin_next_arg(t) ((t) ? 0 : 0) +#define __builtin_va_start(a, l) ((a) = (va_list)(void *)&(l)) +#define __builtin_va_arg(a, t) ((a) ? (t) 0 : (t) 0) +#define __builtin_va_end(a) /* nothing */ +#define __builtin_va_copy(d, s) ((d) = (s)) +#elif !__GNUC_PREREQ__(4, 5) +#define __builtin_va_start(ap, last) __builtin_stdarg_start((ap), (last)) +#endif + +#ifndef __VA_LIST_DECLARED +typedef __va_list va_list; +#define __VA_LIST_DECLARED +#endif + +#define va_start(ap, last) __builtin_va_start((ap), (last)) +#define va_arg __builtin_va_arg +#define va_end(ap) __builtin_va_end(ap) +#define __va_copy(dest, src) __builtin_va_copy((dest), (src)) + +#if !defined(_ANSI_SOURCE) && \ + (defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \ + defined(_NETBSD_SOURCE)) +#define va_copy(dest, src) __va_copy((dest), (src)) +#endif + +#endif /* !_SYS_STDARG_H_ */ Index: sys/sys/syslog.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/sys/syslog.h,v retrieving revision 1.32 diff -u -p -r1.32 syslog.h --- sys/sys/syslog.h 31 Oct 2008 16:12:18 -0000 1.32 +++ sys/sys/syslog.h 15 Jul 2011 11:51:02 -0000 @@ -185,16 +185,9 @@ struct syslog_data { .log_mask = 0xff, \ } -/* - * Don't use va_list in the vsyslog() prototype. Va_list is typedef'd in two - * places ( and ), so if we include one - * of them here we may collide with the utility's includes. It's unreasonable - * for utilities to have to include one of them to include syslog.h, so we get - * _BSD_VA_LIST_ from and use it. - */ -#include #include #include +#include __BEGIN_DECLS void closelog(void); @@ -203,24 +196,24 @@ int setlogmask(int); void syslog(int, const char *, ...) __attribute__((__format__(__printf__,2,3))); #if defined(_NETBSD_SOURCE) -void vsyslog(int, const char *, _BSD_VA_LIST_) +void vsyslog(int, const char *, __va_list) __attribute__((__format__(__printf__,2,0))); void closelog_r(struct syslog_data *); void openlog_r(const char *, int, int, struct syslog_data *); int setlogmask_r(int, struct syslog_data *); void syslog_r(int, struct syslog_data *, const char *, ...) __attribute__((__format__(__printf__,3,4))); -void vsyslog_r(int, struct syslog_data *, const char *, _BSD_VA_LIST_) +void vsyslog_r(int, struct syslog_data *, const char *, __va_list) __attribute__((__format__(__printf__,3,0))); void syslogp(int, const char *, const char *, const char *, ...) __attribute__((__format__(__printf__,4,5))); -void vsyslogp(int, const char *, const char *, const char *, _BSD_VA_LIST_) +void vsyslogp(int, const char *, const char *, const char *, __va_list) __attribute__((__format__(__printf__,4,0))); void syslogp_r(int, struct syslog_data *, const char *, const char *, const char *, ...) __attribute__((__format__(__printf__,5,6))); void vsyslogp_r(int, struct syslog_data *, const char *, const char *, - const char *, _BSD_VA_LIST_) + const char *, __va_list) __attribute__((__format__(__printf__,5,0))); #endif __END_DECLS @@ -230,7 +223,7 @@ __END_DECLS void logpri(int); void log(int, const char *, ...) __attribute__((__format__(__printf__,2,3))); -void vlog(int, const char *, _BSD_VA_LIST_) +void vlog(int, const char *, __va_list) __attribute__((__format__(__printf__,2,0))); void addlog(const char *, ...) __attribute__((__format__(__printf__,1,2))); Index: sys/sys/systm.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/sys/systm.h,v retrieving revision 1.247 diff -u -p -r1.247 systm.h --- sys/sys/systm.h 22 Jan 2011 09:40:50 -0000 1.247 +++ sys/sys/systm.h 11 Jul 2011 20:34:05 -0000 @@ -48,6 +48,7 @@ #ifdef _KERNEL #include +#include #endif #include @@ -229,9 +230,9 @@ int sprintf(char *, const char *, ...) __attribute__((__format__(__printf__,2,3))); int snprintf(char *, size_t, const char *, ...) __attribute__((__format__(__printf__,3,4))); -void vprintf(const char *, _BSD_VA_LIST_); -int vsprintf(char *, const char *, _BSD_VA_LIST_); -int vsnprintf(char *, size_t, const char *, _BSD_VA_LIST_); +void vprintf(const char *, va_list); +int vsprintf(char *, const char *, va_list); +int vsnprintf(char *, size_t, const char *, va_list); int humanize_number(char *, size_t, uint64_t, const char *, int); void twiddle(void); Index: sys/ufs/lfs/lfs_debug.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/sys/ufs/lfs/lfs_debug.c,v retrieving revision 1.38 diff -u -p -r1.38 lfs_debug.c --- sys/ufs/lfs/lfs_debug.c 19 Jul 2009 04:16:23 -0000 1.38 +++ sys/ufs/lfs/lfs_debug.c 11 Jul 2011 21:22:08 -0000 @@ -64,8 +64,6 @@ __KERNEL_RCSID(0, "$NetBSD: lfs_debug.c, #ifdef DEBUG -#include - #include #include #include Index: tools/compat/compat_defs.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/tools/compat/compat_defs.h,v retrieving revision 1.78 diff -u -p -r1.78 compat_defs.h --- tools/compat/compat_defs.h 10 Jan 2011 20:38:35 -0000 1.78 +++ tools/compat/compat_defs.h 11 Jul 2011 20:34:31 -0000 @@ -848,12 +848,6 @@ void *setmode(const char *); #define _PATH_VI "/usr/bin/vi" #endif -/* */ - -#ifndef _BSD_VA_LIST_ -#define _BSD_VA_LIST_ va_list -#endif - /* */ #if !defined(SIZE_MAX) && defined(SIZE_T_MAX) Index: usr.sbin/acpitools/aml/aml_evalobj.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/usr.sbin/acpitools/aml/aml_evalobj.h,v retrieving revision 1.1 diff -u -p -r1.1 aml_evalobj.h --- usr.sbin/acpitools/aml/aml_evalobj.h 14 Jan 2007 04:36:13 -0000 1.1 +++ usr.sbin/acpitools/aml/aml_evalobj.h 11 Jul 2011 22:57:55 -0000 @@ -32,7 +32,7 @@ #ifndef _AML_EVALOBJ_H_ #define _AML_EVALOBJ_H_ -#include +#include union aml_object *aml_eval_objref(struct aml_environ *, union aml_object *); Index: usr.sbin/acpitools/aml/aml_name.h =================================================================== RCS file: /home/joerg/repo/netbsd/src/usr.sbin/acpitools/aml/aml_name.h,v retrieving revision 1.2 diff -u -p -r1.2 aml_name.h --- usr.sbin/acpitools/aml/aml_name.h 14 Jan 2007 05:33:18 -0000 1.2 +++ usr.sbin/acpitools/aml/aml_name.h 11 Jul 2011 21:14:15 -0000 @@ -34,7 +34,7 @@ #ifndef _AML_NAME_H_ #define _AML_NAME_H_ -#include +#include #include Index: usr.sbin/tcpdchk/fakelog.c =================================================================== RCS file: /home/joerg/repo/netbsd/src/usr.sbin/tcpdchk/fakelog.c,v retrieving revision 1.5 diff -u -p -r1.5 fakelog.c --- usr.sbin/tcpdchk/fakelog.c 6 Jul 2002 21:46:59 -0000 1.5 +++ usr.sbin/tcpdchk/fakelog.c 11 Jul 2011 20:34:52 -0000 @@ -38,10 +38,7 @@ int facility; /* vsyslog - format one record */ void -vsyslog(severity, fmt, ap) -int severity; -const char *fmt; -_BSD_VA_LIST_ ap; +vsyslog(int severity, const char *fmt, va_list ap) { char buf[BUFSIZ];