Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/ctype/iswspace.c')
-rw-r--r--newlib/libc/ctype/iswspace.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/newlib/libc/ctype/iswspace.c b/newlib/libc/ctype/iswspace.c
index e10a35df6..cd3d85a7c 100644
--- a/newlib/libc/ctype/iswspace.c
+++ b/newlib/libc/ctype/iswspace.c
@@ -29,7 +29,7 @@
/*
FUNCTION
- <<iswspace>>---whitespace wide character test
+ <<iswspace>>---wide-character space test
INDEX
iswspace
@@ -45,10 +45,10 @@ TRAD_SYNOPSIS
DESCRIPTION
<<iswspace>> is a function which classifies wide-character values that
-are categorized as whitespace.
+are categorized as white-space.
RETURNS
-<<iswspace>> returns non-zero if <[c]> is a whitespace wide character.
+<<iswspace>> returns non-zero if <[c]> is a white-space wide-character.
PORTABILITY
<<iswspace>> is C99.
@@ -56,7 +56,6 @@ PORTABILITY
No supporting OS subroutines are required.
*/
#include <_ansi.h>
-#include <newlib.h>
#include <wctype.h>
#include <ctype.h>
#include <string.h>
@@ -71,7 +70,7 @@ _DEFUN(iswspace,(c), wint_t c)
unicode = 0;
/* fall-through */
}
-#ifdef _MB_CAPABLE
+#ifdef MB_CAPABLE
else if (!strcmp (__lc_ctype, "C-JIS"))
{
c = __jp2uc (c, JP_JIS);
@@ -100,7 +99,7 @@ _DEFUN(iswspace,(c), wint_t c)
c == 0x2028 || c == 0x2029 ||
c == 0x205f || c == 0x3000);
}
-#endif /* _MB_CAPABLE */
+#endif /* MB_CAPABLE */
return (c < 0x100 ? isspace (c) : 0);
}