diff --git a/regress/include/bootblock/bootblock_test.c b/regress/include/bootblock/bootblock_test.c index b791607b68a3..5135b094aeb0 100644 --- a/regress/include/bootblock/bootblock_test.c +++ b/regress/include/bootblock/bootblock_test.c @@ -1,4 +1,4 @@ -/* $NetBSD: bootblock_test.c,v 1.1 2004/03/23 00:00:49 lukem Exp $ */ +/* $NetBSD: bootblock_test.c,v 1.2 2006/05/10 19:07:22 mrg Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -39,6 +39,7 @@ #include #include #include +#include int main(int argc, char *argv[]) diff --git a/regress/lib/libc/basename/test.c b/regress/lib/libc/basename/test.c index a42987b23ac1..0cf1207c9286 100644 --- a/regress/lib/libc/basename/test.c +++ b/regress/lib/libc/basename/test.c @@ -1,4 +1,4 @@ -/* $NetBSD: test.c,v 1.2 2003/07/26 19:38:45 salo Exp $ */ +/* $NetBSD: test.c,v 1.3 2006/05/10 19:07:22 mrg Exp $ */ /* * Regression test for basename(3). @@ -9,6 +9,7 @@ #include #include +#include #include #include diff --git a/regress/lib/libc/convfp/convfp.c b/regress/lib/libc/convfp/convfp.c index 361577d4cd2a..514ed208190d 100644 --- a/regress/lib/libc/convfp/convfp.c +++ b/regress/lib/libc/convfp/convfp.c @@ -1,4 +1,4 @@ -/* $NetBSD: convfp.c,v 1.4 2004/05/01 18:00:19 martin Exp $ */ +/* $NetBSD: convfp.c,v 1.5 2006/05/10 19:07:22 mrg Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -35,6 +35,7 @@ #include #include +#include /* * This value is representable as an unsigned int, but not as an int. diff --git a/regress/lib/libc/dirname/test.c b/regress/lib/libc/dirname/test.c index f737d247e032..200b3929bae5 100644 --- a/regress/lib/libc/dirname/test.c +++ b/regress/lib/libc/dirname/test.c @@ -1,4 +1,4 @@ -/* $NetBSD: test.c,v 1.4 2003/07/26 19:38:46 salo Exp $ */ +/* $NetBSD: test.c,v 1.5 2006/05/10 19:07:22 mrg Exp $ */ /* * Regression test for dirname(3). @@ -11,6 +11,7 @@ #include #include #include +#include struct { const char *input; diff --git a/regress/lib/libc/ieeefp/except/except.c b/regress/lib/libc/ieeefp/except/except.c index de041c4007e6..c166ae9d29dc 100644 --- a/regress/lib/libc/ieeefp/except/except.c +++ b/regress/lib/libc/ieeefp/except/except.c @@ -1,4 +1,4 @@ -/* $NetBSD: except.c,v 1.9 2004/03/25 15:12:42 drochner Exp $ */ +/* $NetBSD: except.c,v 1.10 2006/05/10 19:07:22 mrg Exp $ */ /*- * Copyright (c) 1995 The NetBSD Foundation, Inc. @@ -39,6 +39,7 @@ #include #include #include +#include void sigfpe(int, siginfo_t *, void *); volatile sig_atomic_t signal_caught; diff --git a/regress/lib/libc/ldexp/ldexp.c b/regress/lib/libc/ldexp/ldexp.c index 107094c3116b..d6cc49900689 100644 --- a/regress/lib/libc/ldexp/ldexp.c +++ b/regress/lib/libc/ldexp/ldexp.c @@ -1,4 +1,4 @@ -/* $NetBSD: ldexp.c,v 1.2 2002/02/21 07:38:17 itojun Exp $ */ +/* $NetBSD: ldexp.c,v 1.3 2006/05/10 19:07:22 mrg Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -35,6 +35,7 @@ #include #include +#include int main() diff --git a/regress/lib/libc/locale/ctype1/ctype1.c b/regress/lib/libc/locale/ctype1/ctype1.c index 8f19a51ff71a..fda67aec91f1 100644 --- a/regress/lib/libc/locale/ctype1/ctype1.c +++ b/regress/lib/libc/locale/ctype1/ctype1.c @@ -1,4 +1,4 @@ -/* $NetBSD: ctype1.c,v 1.4 2004/06/21 21:20:05 itojun Exp $ */ +/* $NetBSD: ctype1.c,v 1.5 2006/05/10 19:07:22 mrg Exp $ */ /*- * Copyright (c)2003 Citrus Project, @@ -31,6 +31,7 @@ #include #include #include +#include int main(int ac, char **av) diff --git a/regress/lib/libc/nsdispatch/recurse/recurse.c b/regress/lib/libc/nsdispatch/recurse/recurse.c index 01c5f95ab840..1bf25b226feb 100644 --- a/regress/lib/libc/nsdispatch/recurse/recurse.c +++ b/regress/lib/libc/nsdispatch/recurse/recurse.c @@ -1,4 +1,4 @@ -/* $NetBSD: recurse.c,v 1.2 2004/08/02 00:17:21 thorpej Exp $ */ +/* $NetBSD: recurse.c,v 1.3 2006/05/10 19:07:22 mrg Exp $ */ /* * Written by Jason R. Thorpe, August 1, 2004. @@ -12,6 +12,7 @@ #include #include #include +#include static const ns_src testsrc[] = { { "test", NS_SUCCESS }, diff --git a/regress/lib/libc/randomid/idtest.c b/regress/lib/libc/randomid/idtest.c index a460c03beb47..0882eeb76b7e 100644 --- a/regress/lib/libc/randomid/idtest.c +++ b/regress/lib/libc/randomid/idtest.c @@ -1,4 +1,4 @@ -/* $NetBSD: idtest.c,v 1.4 2003/12/10 05:22:18 itojun Exp $ */ +/* $NetBSD: idtest.c,v 1.5 2006/05/10 19:07:22 mrg Exp $ */ /* If defined, abort at first short period and only test REGRESS times. */ #define REGRESS 10000000 /* should be enough... */ @@ -10,6 +10,7 @@ #include #include #include +#include #define PERIOD 30000 diff --git a/regress/lib/libc/rpc/xdr/xdrtest.c b/regress/lib/libc/rpc/xdr/xdrtest.c index b97190ba017f..fb7288dfaa60 100644 --- a/regress/lib/libc/rpc/xdr/xdrtest.c +++ b/regress/lib/libc/rpc/xdr/xdrtest.c @@ -1,4 +1,4 @@ -/* $NetBSD: xdrtest.c,v 1.4 2002/03/09 01:34:18 pk Exp $ */ +/* $NetBSD: xdrtest.c,v 1.5 2006/05/10 19:07:22 mrg Exp $ */ /*- * Copyright (c) 2001 Ben Harris @@ -32,6 +32,7 @@ #include #include +#include #include "testbits.h" diff --git a/regress/lib/libc/siginfo/sigalrm/sigalrm.c b/regress/lib/libc/siginfo/sigalrm/sigalrm.c index 68fd88e282c7..3752865bf59b 100644 --- a/regress/lib/libc/siginfo/sigalrm/sigalrm.c +++ b/regress/lib/libc/siginfo/sigalrm/sigalrm.c @@ -1,10 +1,12 @@ -/* $NetBSD: sigalrm.c,v 1.3 2003/11/13 06:48:31 simonb Exp $ */ +/* $NetBSD: sigalrm.c,v 1.4 2006/05/10 19:07:22 mrg Exp $ */ + +#include +#include #include #include #include -#include -#include +#include void sigalrm(int signo, siginfo_t *info, void *ptr) diff --git a/regress/lib/libc/siginfo/sigchld/sigchld.c b/regress/lib/libc/siginfo/sigchld/sigchld.c index 17c19e38f01a..70acb148384d 100644 --- a/regress/lib/libc/siginfo/sigchld/sigchld.c +++ b/regress/lib/libc/siginfo/sigchld/sigchld.c @@ -1,11 +1,13 @@ -/* $NetBSD: sigchld.c,v 1.5 2003/11/27 01:03:13 simonb Exp $ */ +/* $NetBSD: sigchld.c,v 1.6 2006/05/10 19:07:22 mrg Exp $ */ + +#include +#include +#include #include #include #include -#include -#include -#include +#include pid_t child; int code; diff --git a/regress/lib/libc/siginfo/sigsegv/sigsegv.c b/regress/lib/libc/siginfo/sigsegv/sigsegv.c index ff56dfdb58ee..55ac058a76f9 100644 --- a/regress/lib/libc/siginfo/sigsegv/sigsegv.c +++ b/regress/lib/libc/siginfo/sigsegv/sigsegv.c @@ -1,9 +1,11 @@ -/* $NetBSD: sigsegv.c,v 1.4 2003/11/13 06:48:31 simonb Exp $ */ +/* $NetBSD: sigsegv.c,v 1.5 2006/05/10 19:07:22 mrg Exp $ */ + +#include #include #include #include -#include +#include void sigsegv(int signo, siginfo_t *info, void *ptr) diff --git a/regress/sys/uvm/loan1/loan1.c b/regress/sys/uvm/loan1/loan1.c index 5402cd9a8982..abfce25564a0 100644 --- a/regress/sys/uvm/loan1/loan1.c +++ b/regress/sys/uvm/loan1/loan1.c @@ -1,4 +1,4 @@ -/* $Id: loan1.c,v 1.4 2004/03/02 10:13:13 yamt Exp $ */ +/* $Id: loan1.c,v 1.5 2006/05/10 19:07:22 mrg Exp $ */ /*- * Copyright (c)2004 YAMAMOTO Takashi, @@ -33,6 +33,7 @@ #include #include #include +#include #include #define BUFSIZE (32 * 1024) /* enough size to trigger sosend_loan */