Add missing #includes of <stdio.h>. Correct a few typos in comments.
This commit is contained in:
parent
a0c161c4e4
commit
89861638ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106495
@ -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.
|
||||
*/
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user