summaryrefslogtreecommitdiffstats
path: root/include/_ctype.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-04-21 13:25:55 +0000
committertjr <tjr@FreeBSD.org>2004-04-21 13:25:55 +0000
commit18cd3a48b341eecdc22286681a8b05960be81e36 (patch)
treefdd70038f2f4bf86906f07cee354df74daac3991 /include/_ctype.h
parentff09fc7686b223a15d4ff23a6f01f379deeb646a (diff)
downloadFreeBSD-src-18cd3a48b341eecdc22286681a8b05960be81e36.zip
FreeBSD-src-18cd3a48b341eecdc22286681a8b05960be81e36.tar.gz
Make isblank() visible in the C99 namespace.
PR: 63371 Submitted by: Stefan Farfeleder
Diffstat (limited to 'include/_ctype.h')
-rw-r--r--include/_ctype.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/_ctype.h b/include/_ctype.h
index 7d6fa79..6985410 100644
--- a/include/_ctype.h
+++ b/include/_ctype.h
@@ -89,9 +89,12 @@ int isascii(int);
int toascii(int);
#endif
+#if __ISO_C_VISIBLE >= 1999
+int isblank(int);
+#endif
+
#if __BSD_VISIBLE
int digittoint(int);
-int isblank(int);
int ishexnumber(int);
int isideogram(int);
int isnumber(int);
@@ -133,9 +136,12 @@ __END_DECLS
#define toascii(c) ((c) & 0x7F)
#endif
+#if __ISO_C_VISIBLE >= 1999
+#define isblank(c) __istype((c), _CTYPE_B)
+#endif
+
#if __BSD_VISIBLE
#define digittoint(c) __maskrune((c), 0xFF)
-#define isblank(c) __istype((c), _CTYPE_B)
#define ishexnumber(c) __istype((c), _CTYPE_X)
#define isideogram(c) __istype((c), _CTYPE_I)
#define isnumber(c) __istype((c), _CTYPE_D)
OpenPOWER on IntegriCloud