diff options
-rw-r--r-- | tools/regression/lib/libc/locale/test-btowc.c | 2 | ||||
-rw-r--r-- | tools/regression/lib/libc/locale/test-mbrtowc.c | 5 | ||||
-rw-r--r-- | tools/regression/lib/libc/locale/test-wcrtomb.c | 5 |
3 files changed, 7 insertions, 5 deletions
diff --git a/tools/regression/lib/libc/locale/test-btowc.c b/tools/regression/lib/libc/locale/test-btowc.c index 6d26d85..3e077f0 100644 --- a/tools/regression/lib/libc/locale/test-btowc.c +++ b/tools/regression/lib/libc/locale/test-btowc.c @@ -26,7 +26,7 @@ /* * Test program for btowc() and wctob() as specified by IEEE Std. 1003.1-2001 - * and * ISO/IEC 9899:1999. + * and ISO/IEC 9899:1999. * * The function is tested in only the "C" locale. */ diff --git a/tools/regression/lib/libc/locale/test-mbrtowc.c b/tools/regression/lib/libc/locale/test-mbrtowc.c index dcd2e39..d781f16 100644 --- a/tools/regression/lib/libc/locale/test-mbrtowc.c +++ b/tools/regression/lib/libc/locale/test-mbrtowc.c @@ -28,8 +28,8 @@ * Test program for mbrtowc(), as specified by IEEE Std. 1003.1-2001 and * ISO/IEC 9899:1999. * - * The function is tested with both the "C" ("POSIX") LC_CTYPE seting and - * ja_JP.eucJP. Other encodings are not tested. + * The function is tested with both the "C" ("POSIX") LC_CTYPE setting and + * "ja_JP.eucJP". Other encodings are not tested. */ #include <sys/cdefs.h> @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include <errno.h> #include <limits.h> #include <locale.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <wchar.h> diff --git a/tools/regression/lib/libc/locale/test-wcrtomb.c b/tools/regression/lib/libc/locale/test-wcrtomb.c index 9fcb560..3c16dff 100644 --- a/tools/regression/lib/libc/locale/test-wcrtomb.c +++ b/tools/regression/lib/libc/locale/test-wcrtomb.c @@ -28,8 +28,8 @@ * Test program for wcrtomb(), as specified by IEEE Std. 1003.1-2001 and * ISO/IEC 9899:1999. * - * The function is tested with both the "C" ("POSIX") LC_CTYPE seting and - * ja_JP.eucJP. Other encodings are not tested. + * The function is tested with both the "C" ("POSIX") LC_CTYPE setting and + * "ja_JP.eucJP". Other encodings are not tested. */ #include <sys/cdefs.h> @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include <errno.h> #include <limits.h> #include <locale.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <wchar.h> |