diff options
| -rw-r--r-- | src/regress/lib/libc/dirname/dirname_test.c | 1 | ||||
| -rw-r--r-- | src/regress/lib/libc/ifnameindex/ifnitest.c | 3 | ||||
| -rw-r--r-- | src/regress/lib/libc/locale/setlocale/setlocale.c | 3 | ||||
| -rw-r--r-- | src/regress/lib/libc/strtod/strtodtest.c | 3 |
4 files changed, 7 insertions, 3 deletions
diff --git a/src/regress/lib/libc/dirname/dirname_test.c b/src/regress/lib/libc/dirname/dirname_test.c index add76980cf..27d32b6eda 100644 --- a/src/regress/lib/libc/dirname/dirname_test.c +++ b/src/regress/lib/libc/dirname/dirname_test.c | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | #include <string.h> | 11 | #include <string.h> |
| 12 | #include <limits.h> | 12 | #include <limits.h> |
| 13 | #include <errno.h> | 13 | #include <errno.h> |
| 14 | #include <err.h> | ||
| 14 | 15 | ||
| 15 | int | 16 | int |
| 16 | main(void) | 17 | main(void) |
diff --git a/src/regress/lib/libc/ifnameindex/ifnitest.c b/src/regress/lib/libc/ifnameindex/ifnitest.c index 512f90e24d..fb7ed3704f 100644 --- a/src/regress/lib/libc/ifnameindex/ifnitest.c +++ b/src/regress/lib/libc/ifnameindex/ifnitest.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ifnitest.c,v 1.2 2016/08/27 04:29:25 guenther Exp $ */ | 1 | /* $OpenBSD: ifnitest.c,v 1.3 2017/02/25 07:28:32 jsg Exp $ */ |
| 2 | 2 | ||
| 3 | /* Public domain. 2015, Claudio Jeker */ | 3 | /* Public domain. 2015, Claudio Jeker */ |
| 4 | 4 | ||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <net/if.h> | 7 | #include <net/if.h> |
| 8 | #include <err.h> | 8 | #include <err.h> |
| 9 | #include <stdio.h> | 9 | #include <stdio.h> |
| 10 | #include <string.h> | ||
| 10 | 11 | ||
| 11 | int | 12 | int |
| 12 | main(int argc, char *argv[]) | 13 | main(int argc, char *argv[]) |
diff --git a/src/regress/lib/libc/locale/setlocale/setlocale.c b/src/regress/lib/libc/locale/setlocale/setlocale.c index 5b4cb63870..f2a8427535 100644 --- a/src/regress/lib/libc/locale/setlocale/setlocale.c +++ b/src/regress/lib/libc/locale/setlocale/setlocale.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: setlocale.c,v 1.2 2015/08/23 07:33:50 guenther Exp $ */ | 1 | /* $OpenBSD: setlocale.c,v 1.3 2017/02/25 07:28:32 jsg Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2015 Sebastien Marie <semarie@openbsd.org> | 3 | * Copyright (c) 2015 Sebastien Marie <semarie@openbsd.org> |
| 4 | * | 4 | * |
| @@ -20,6 +20,7 @@ | |||
| 20 | #include <stdlib.h> | 20 | #include <stdlib.h> |
| 21 | #include <stdio.h> | 21 | #include <stdio.h> |
| 22 | #include <string.h> | 22 | #include <string.h> |
| 23 | #include <ctype.h> | ||
| 23 | 24 | ||
| 24 | /* | 25 | /* |
| 25 | * test helpers for __LINE__ | 26 | * test helpers for __LINE__ |
diff --git a/src/regress/lib/libc/strtod/strtodtest.c b/src/regress/lib/libc/strtod/strtodtest.c index 0291365a75..570a002b18 100644 --- a/src/regress/lib/libc/strtod/strtodtest.c +++ b/src/regress/lib/libc/strtod/strtodtest.c | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | /* $OpenBSD: strtodtest.c,v 1.1 2006/09/29 11:00:24 otto Exp $ */ | 1 | /* $OpenBSD: strtodtest.c,v 1.2 2017/02/25 07:28:32 jsg Exp $ */ |
| 2 | /* Public domain, Otto Moerbeek <otto@drijf.net>, 2006. */ | 2 | /* Public domain, Otto Moerbeek <otto@drijf.net>, 2006. */ |
| 3 | 3 | ||
| 4 | #include <stdio.h> | 4 | #include <stdio.h> |
| 5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
| 6 | #include <errno.h> | 6 | #include <errno.h> |
| 7 | #include <err.h> | ||
| 7 | 8 | ||
| 8 | /* | 9 | /* |
| 9 | * Checks if strtod() reports underflow. | 10 | * Checks if strtod() reports underflow. |
