diff options
author | David Krause <david@cvs.openbsd.org> | 2003-09-02 23:52:18 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 2003-09-02 23:52:18 +0000 |
commit | be301350bdab2bb82238278aa09fa4d92b194b27 (patch) | |
tree | 8ba21671cb64d36c0a7d76ffbccb09bc139516fa /regress/lib | |
parent | 9b09e7650f65721c3cb81403d85f0d3a47bba08e (diff) |
add missing includes
ok deraadt@ tedu@ dhartmei@ krw@
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/csu/dtors/dtors.c | 3 | ||||
-rw-r--r-- | regress/lib/libc/alloca/alloca.c | 3 | ||||
-rw-r--r-- | regress/lib/libc/atexit/atexit_test.c | 3 | ||||
-rw-r--r-- | regress/lib/libc/getaddrinfo/gaitest.c | 3 | ||||
-rw-r--r-- | regress/lib/libc/ieeefp/except/except.c | 3 | ||||
-rw-r--r-- | regress/lib/libc/setjmp/jmptest.c | 3 | ||||
-rw-r--r-- | regress/lib/libc/sprintf/sprintf_test.c | 3 | ||||
-rw-r--r-- | regress/lib/libm/rint/rint.c | 4 | ||||
-rw-r--r-- | regress/lib/libm/toint/toint.c | 4 | ||||
-rw-r--r-- | regress/lib/libpthread/include/test.h | 3 |
10 files changed, 22 insertions, 10 deletions
diff --git a/regress/lib/csu/dtors/dtors.c b/regress/lib/csu/dtors/dtors.c index 13593e160e8..f0787ac39b8 100644 --- a/regress/lib/csu/dtors/dtors.c +++ b/regress/lib/csu/dtors/dtors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dtors.c,v 1.4 2003/08/02 01:24:35 david Exp $ */ +/* $OpenBSD: dtors.c,v 1.5 2003/09/02 23:52:16 david Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain. */ @@ -7,6 +7,7 @@ #include <sys/wait.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <err.h> #include <unistd.h> diff --git a/regress/lib/libc/alloca/alloca.c b/regress/lib/libc/alloca/alloca.c index 14ef87b29ad..d9573e2f54d 100644 --- a/regress/lib/libc/alloca/alloca.c +++ b/regress/lib/libc/alloca/alloca.c @@ -1,8 +1,9 @@ -/* $OpenBSD: alloca.c,v 1.5 2003/08/02 01:24:36 david Exp $ */ +/* $OpenBSD: alloca.c,v 1.6 2003/09/02 23:52:16 david Exp $ */ /* Written by Michael Shalayeff, 2003, Public Domain. */ #include <stdio.h> +#include <stdlib.h> #include <string.h> int diff --git a/regress/lib/libc/atexit/atexit_test.c b/regress/lib/libc/atexit/atexit_test.c index c30b9dff77a..efa2274168b 100644 --- a/regress/lib/libc/atexit/atexit_test.c +++ b/regress/lib/libc/atexit/atexit_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atexit_test.c,v 1.4 2003/07/31 21:48:02 deraadt Exp $ */ +/* $OpenBSD: atexit_test.c,v 1.5 2003/09/02 23:52:16 david Exp $ */ /* * Copyright (c) 2002 Daniel Hartmeier @@ -36,6 +36,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <signal.h> #include "stdlib/atexit.h" diff --git a/regress/lib/libc/getaddrinfo/gaitest.c b/regress/lib/libc/getaddrinfo/gaitest.c index edd56288f5b..a54681b1573 100644 --- a/regress/lib/libc/getaddrinfo/gaitest.c +++ b/regress/lib/libc/getaddrinfo/gaitest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gaitest.c,v 1.2 2002/08/09 20:26:44 jsyn Exp $ */ +/* $OpenBSD: gaitest.c,v 1.3 2003/09/02 23:52:16 david Exp $ */ /* $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $ */ /* @@ -37,6 +37,7 @@ #include <netdb.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> struct addrinfo ai; diff --git a/regress/lib/libc/ieeefp/except/except.c b/regress/lib/libc/ieeefp/except/except.c index 7ab8fc4cb21..7df9abea070 100644 --- a/regress/lib/libc/ieeefp/except/except.c +++ b/regress/lib/libc/ieeefp/except/except.c @@ -1,6 +1,7 @@ -/* $OpenBSD: except.c,v 1.4 2003/07/31 21:48:03 deraadt Exp $ */ +/* $OpenBSD: except.c,v 1.5 2003/09/02 23:52:16 david Exp $ */ #include <stdio.h> +#include <stdlib.h> #include <signal.h> #include <assert.h> #include <ieeefp.h> diff --git a/regress/lib/libc/setjmp/jmptest.c b/regress/lib/libc/setjmp/jmptest.c index 86b0e6ae938..9512c9ee341 100644 --- a/regress/lib/libc/setjmp/jmptest.c +++ b/regress/lib/libc/setjmp/jmptest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jmptest.c,v 1.6 2003/07/31 21:48:03 deraadt Exp $ */ +/* $OpenBSD: jmptest.c,v 1.7 2003/09/02 23:52:16 david Exp $ */ /* $NetBSD: jmptest.c,v 1.2 1995/01/01 20:55:35 jtc Exp $ */ /* @@ -38,6 +38,7 @@ #include <signal.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #if (TEST_SETJMP + TEST_U_SETJMP + TEST_SIGSETJMP) != 1 diff --git a/regress/lib/libc/sprintf/sprintf_test.c b/regress/lib/libc/sprintf/sprintf_test.c index 1387b2970e4..76dd42c9299 100644 --- a/regress/lib/libc/sprintf/sprintf_test.c +++ b/regress/lib/libc/sprintf/sprintf_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sprintf_test.c,v 1.1 2003/05/15 04:23:49 deraadt Exp $ */ +/* $OpenBSD: sprintf_test.c,v 1.2 2003/09/02 23:52:16 david Exp $ */ /* * Copyright (c) 2003 Theo de Raadt @@ -31,6 +31,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <signal.h> char correct[] = diff --git a/regress/lib/libm/rint/rint.c b/regress/lib/libm/rint/rint.c index e968426f778..70388a228a4 100644 --- a/regress/lib/libm/rint/rint.c +++ b/regress/lib/libm/rint/rint.c @@ -1,8 +1,10 @@ -/* $OpenBSD: rint.c,v 1.3 2003/07/31 21:48:04 deraadt Exp $ */ +/* $OpenBSD: rint.c,v 1.4 2003/09/02 23:52:17 david Exp $ */ /* Written by Michael Shalayeff, 2003, Public domain. */ #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <signal.h> #include <unistd.h> #include <math.h> diff --git a/regress/lib/libm/toint/toint.c b/regress/lib/libm/toint/toint.c index 7a4c60e7c2b..41f9c3a3cc1 100644 --- a/regress/lib/libm/toint/toint.c +++ b/regress/lib/libm/toint/toint.c @@ -1,8 +1,10 @@ -/* $OpenBSD: toint.c,v 1.3 2003/07/31 21:48:04 deraadt Exp $ */ +/* $OpenBSD: toint.c,v 1.4 2003/09/02 23:52:17 david Exp $ */ /* Written by Michael Shalayeff, 2003, Public domain. */ #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <signal.h> #include <unistd.h> diff --git a/regress/lib/libpthread/include/test.h b/regress/lib/libpthread/include/test.h index 58fdc8fb554..61afc45be4b 100644 --- a/regress/lib/libpthread/include/test.h +++ b/regress/lib/libpthread/include/test.h @@ -1,9 +1,10 @@ -/* $OpenBSD: test.h,v 1.4 2002/02/17 19:42:27 millert Exp $ */ +/* $OpenBSD: test.h,v 1.5 2003/09/02 23:52:17 david Exp $ */ #ifndef _h_test_ #define _h_test_ #include <stdio.h> +#include <stdlib.h> #include <signal.h> #include <errno.h> #include <string.h> |