summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-11-06 09:37:47 +0000
committertjr <tjr@FreeBSD.org>2002-11-06 09:37:47 +0000
commit2b2cb081a81d8cbaf3ccba181a4d16bd053fee9f (patch)
tree540e2e277772532bc016744c6238c750ad02e292 /tools
parent70d50c6e7f405cf435f6b5c90ae10370ccda6f4e (diff)
downloadFreeBSD-src-2b2cb081a81d8cbaf3ccba181a4d16bd053fee9f.zip
FreeBSD-src-2b2cb081a81d8cbaf3ccba181a4d16bd053fee9f.tar.gz
Add missing #includes of <stdio.h>. Correct a few typos in comments.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/lib/libc/locale/test-btowc.c2
-rw-r--r--tools/regression/lib/libc/locale/test-mbrtowc.c5
-rw-r--r--tools/regression/lib/libc/locale/test-wcrtomb.c5
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>
OpenPOWER on IntegriCloud