diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libc/alloca/alloca.c | 3 | ||||
-rw-r--r-- | src/regress/lib/libc/atexit/atexit_test.c | 3 | ||||
-rw-r--r-- | src/regress/lib/libc/getaddrinfo/gaitest.c | 3 | ||||
-rw-r--r-- | src/regress/lib/libc/ieeefp/except/except.c | 3 | ||||
-rw-r--r-- | src/regress/lib/libc/setjmp/jmptest.c | 3 | ||||
-rw-r--r-- | src/regress/lib/libc/sprintf/sprintf_test.c | 3 |
6 files changed, 12 insertions, 6 deletions
diff --git a/src/regress/lib/libc/alloca/alloca.c b/src/regress/lib/libc/alloca/alloca.c index 14ef87b29a..d9573e2f54 100644 --- a/src/regress/lib/libc/alloca/alloca.c +++ b/src/regress/lib/libc/alloca/alloca.c | |||
@@ -1,8 +1,9 @@ | |||
1 | /* $OpenBSD: alloca.c,v 1.5 2003/08/02 01:24:36 david Exp $ */ | 1 | /* $OpenBSD: alloca.c,v 1.6 2003/09/02 23:52:16 david Exp $ */ |
2 | 2 | ||
3 | /* Written by Michael Shalayeff, 2003, Public Domain. */ | 3 | /* Written by Michael Shalayeff, 2003, Public Domain. */ |
4 | 4 | ||
5 | #include <stdio.h> | 5 | #include <stdio.h> |
6 | #include <stdlib.h> | ||
6 | #include <string.h> | 7 | #include <string.h> |
7 | 8 | ||
8 | int | 9 | int |
diff --git a/src/regress/lib/libc/atexit/atexit_test.c b/src/regress/lib/libc/atexit/atexit_test.c index c30b9dff77..efa2274168 100644 --- a/src/regress/lib/libc/atexit/atexit_test.c +++ b/src/regress/lib/libc/atexit/atexit_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: atexit_test.c,v 1.4 2003/07/31 21:48:02 deraadt Exp $ */ | 1 | /* $OpenBSD: atexit_test.c,v 1.5 2003/09/02 23:52:16 david Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2002 Daniel Hartmeier | 4 | * Copyright (c) 2002 Daniel Hartmeier |
@@ -36,6 +36,7 @@ | |||
36 | 36 | ||
37 | #include <stdio.h> | 37 | #include <stdio.h> |
38 | #include <stdlib.h> | 38 | #include <stdlib.h> |
39 | #include <string.h> | ||
39 | #include <signal.h> | 40 | #include <signal.h> |
40 | #include "stdlib/atexit.h" | 41 | #include "stdlib/atexit.h" |
41 | 42 | ||
diff --git a/src/regress/lib/libc/getaddrinfo/gaitest.c b/src/regress/lib/libc/getaddrinfo/gaitest.c index edd56288f5..a54681b157 100644 --- a/src/regress/lib/libc/getaddrinfo/gaitest.c +++ b/src/regress/lib/libc/getaddrinfo/gaitest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gaitest.c,v 1.2 2002/08/09 20:26:44 jsyn Exp $ */ | 1 | /* $OpenBSD: gaitest.c,v 1.3 2003/09/02 23:52:16 david Exp $ */ |
2 | /* $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $ */ | 2 | /* $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
@@ -37,6 +37,7 @@ | |||
37 | #include <netdb.h> | 37 | #include <netdb.h> |
38 | #include <stdio.h> | 38 | #include <stdio.h> |
39 | #include <stdlib.h> | 39 | #include <stdlib.h> |
40 | #include <string.h> | ||
40 | #include <unistd.h> | 41 | #include <unistd.h> |
41 | 42 | ||
42 | struct addrinfo ai; | 43 | struct addrinfo ai; |
diff --git a/src/regress/lib/libc/ieeefp/except/except.c b/src/regress/lib/libc/ieeefp/except/except.c index 7ab8fc4cb2..7df9abea07 100644 --- a/src/regress/lib/libc/ieeefp/except/except.c +++ b/src/regress/lib/libc/ieeefp/except/except.c | |||
@@ -1,6 +1,7 @@ | |||
1 | /* $OpenBSD: except.c,v 1.4 2003/07/31 21:48:03 deraadt Exp $ */ | 1 | /* $OpenBSD: except.c,v 1.5 2003/09/02 23:52:16 david Exp $ */ |
2 | 2 | ||
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <stdlib.h> | ||
4 | #include <signal.h> | 5 | #include <signal.h> |
5 | #include <assert.h> | 6 | #include <assert.h> |
6 | #include <ieeefp.h> | 7 | #include <ieeefp.h> |
diff --git a/src/regress/lib/libc/setjmp/jmptest.c b/src/regress/lib/libc/setjmp/jmptest.c index 86b0e6ae93..9512c9ee34 100644 --- a/src/regress/lib/libc/setjmp/jmptest.c +++ b/src/regress/lib/libc/setjmp/jmptest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: jmptest.c,v 1.6 2003/07/31 21:48:03 deraadt Exp $ */ | 1 | /* $OpenBSD: jmptest.c,v 1.7 2003/09/02 23:52:16 david Exp $ */ |
2 | /* $NetBSD: jmptest.c,v 1.2 1995/01/01 20:55:35 jtc Exp $ */ | 2 | /* $NetBSD: jmptest.c,v 1.2 1995/01/01 20:55:35 jtc Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
@@ -38,6 +38,7 @@ | |||
38 | #include <signal.h> | 38 | #include <signal.h> |
39 | #include <stdio.h> | 39 | #include <stdio.h> |
40 | #include <stdlib.h> | 40 | #include <stdlib.h> |
41 | #include <string.h> | ||
41 | #include <unistd.h> | 42 | #include <unistd.h> |
42 | 43 | ||
43 | #if (TEST_SETJMP + TEST_U_SETJMP + TEST_SIGSETJMP) != 1 | 44 | #if (TEST_SETJMP + TEST_U_SETJMP + TEST_SIGSETJMP) != 1 |
diff --git a/src/regress/lib/libc/sprintf/sprintf_test.c b/src/regress/lib/libc/sprintf/sprintf_test.c index 1387b2970e..76dd42c929 100644 --- a/src/regress/lib/libc/sprintf/sprintf_test.c +++ b/src/regress/lib/libc/sprintf/sprintf_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sprintf_test.c,v 1.1 2003/05/15 04:23:49 deraadt Exp $ */ | 1 | /* $OpenBSD: sprintf_test.c,v 1.2 2003/09/02 23:52:16 david Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2003 Theo de Raadt | 4 | * Copyright (c) 2003 Theo de Raadt |
@@ -31,6 +31,7 @@ | |||
31 | 31 | ||
32 | #include <stdio.h> | 32 | #include <stdio.h> |
33 | #include <stdlib.h> | 33 | #include <stdlib.h> |
34 | #include <string.h> | ||
34 | #include <signal.h> | 35 | #include <signal.h> |
35 | 36 | ||
36 | char correct[] = | 37 | char correct[] = |