summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ctype/isalnum.c6
-rw-r--r--src/ctype/isalpha.c6
-rw-r--r--src/ctype/isascii.c5
-rw-r--r--src/ctype/isblank.c6
-rw-r--r--src/ctype/iscntrl.c7
-rw-r--r--src/ctype/isdigit.c6
-rw-r--r--src/ctype/isgraph.c7
-rw-r--r--src/ctype/islower.c7
-rw-r--r--src/ctype/isprint.c7
-rw-r--r--src/ctype/ispunct.c7
-rw-r--r--src/ctype/isspace.c7
-rw-r--r--src/ctype/isxdigit.c7
-rw-r--r--src/ctype/toascii.c5
-rw-r--r--src/ctype/tolower.c6
-rw-r--r--src/ctype/toupper.c6
15 files changed, 13 insertions, 82 deletions
diff --git a/src/ctype/isalnum.c b/src/ctype/isalnum.c
index 65262037..edb03ca6 100644
--- a/src/ctype/isalnum.c
+++ b/src/ctype/isalnum.c
@@ -1,7 +1,6 @@
-#if 0
-
#include <ctype.h>
#include <limits.h>
+#include <stdio.h>
#include "_assert.h"
/** test whether a character is alphanumeric **/
@@ -23,6 +22,3 @@ RETURN(0, ARGUMENT(c) is not an alphanumeric character)
LC_CTYPE
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/isalpha.c b/src/ctype/isalpha.c
index 2b363108..60d47a73 100644
--- a/src/ctype/isalpha.c
+++ b/src/ctype/isalpha.c
@@ -1,7 +1,6 @@
-#if 0
-
#include <ctype.h>
#include <limits.h>
+#include <stdio.h>
#include "_assert.h"
/** test whether a character is alphabetic **/
@@ -25,6 +24,3 @@ C_LOCALE(`THIS() is true for characters for which FUNCTION(isupper) or FUNCTION(
OTHER_LOCALES(`THIS is true for a set of characters for which none of FUNCTION(iscntrl), FUNCTION(isdigit), FUNCTION(ispunct), or FUNCTION(isspace) is true')
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/isascii.c b/src/ctype/isascii.c
index d84d6fe3..fc0067d7 100644
--- a/src/ctype/isascii.c
+++ b/src/ctype/isascii.c
@@ -1,5 +1,3 @@
-#if 0
-
#include <ctype.h>
/** test whether a character is in the ASCII range **/
@@ -22,6 +20,3 @@ RETURN(ZERO, ARGUMENT(c) is outside of the ASCII range)
XOBSOLETE(700)
XOPEN(4)
*/
-
-
-#endif
diff --git a/src/ctype/isblank.c b/src/ctype/isblank.c
index 22d43524..5b5ad8b1 100644
--- a/src/ctype/isblank.c
+++ b/src/ctype/isblank.c
@@ -1,8 +1,7 @@
-#if 0
-
#include <ctype.h>
#include <limits.h>
#include <locale.h>
+#include <stdio.h>
#include "_ctype.h"
/** test whether a character is blank **/
@@ -30,6 +29,3 @@ RETURN(ZERO, arg(c) is not a blank character)
LC_CTYPE
STDC(199901)
*/
-
-
-#endif
diff --git a/src/ctype/iscntrl.c b/src/ctype/iscntrl.c
index 5d982bcf..4c733b2c 100644
--- a/src/ctype/iscntrl.c
+++ b/src/ctype/iscntrl.c
@@ -1,7 +1,5 @@
-#if 0
-
#include <limits.h>
-#include "_assert.h"
+#include <stdio.h>
#include "_ctype.h"
/** test whether a character is a control character */
@@ -26,6 +24,3 @@ RETURN(0, ARGUMENT(c) is not a control character)
LC_CTYPE
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/isdigit.c b/src/ctype/isdigit.c
index 3b42fc71..cc8db83c 100644
--- a/src/ctype/isdigit.c
+++ b/src/ctype/isdigit.c
@@ -1,7 +1,6 @@
-#if 0
-
#include <ctype.h>
#include <limits.h>
+#include <stdio.h>
#include "_assert.h"
/** test whether a character is a digit **/
@@ -25,6 +24,3 @@ LC_CTYPE
C_LOCALE(`THIS() is true for characters CHAR(0), CHAR(1), CHAR(2), CHAR(3), CHAR(4), CHAR(5), CHAR(6), CHAR(7), CHAR(8), and CHAR(9)')
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/isgraph.c b/src/ctype/isgraph.c
index 5c3dad44..49de9c1f 100644
--- a/src/ctype/isgraph.c
+++ b/src/ctype/isgraph.c
@@ -1,7 +1,5 @@
-#if 0
-
#include <limits.h>
-#include "_assert.h"
+#include <stdio.h>
#include "_ctype.h"
/** test whether a character is graphic **/
@@ -27,6 +25,3 @@ LC_CTYPE
C_LOCALE(`THIS() is true for all printable characters other than SPACE()')
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/islower.c b/src/ctype/islower.c
index 9714f9b4..259d1149 100644
--- a/src/ctype/islower.c
+++ b/src/ctype/islower.c
@@ -1,7 +1,5 @@
-#if 0
-
#include <limits.h>
-#include "_assert.h"
+#include <stdio.h>
#include "_ctype.h"
/** test whether a character is a lowercase letter **/
@@ -28,6 +26,3 @@ C_LOCALE(`THIS() is true for the characters CHAR(a), CHAR(b), CHAR(c), CHAR(d),
OTHER_LOCALES(`THIS() is true for a set of characters for which none of FUNCTION(iscntrl), FUNCTION(isdigit), FUNCTION(ispunct), or FUNCTION(isspace) is true')
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/isprint.c b/src/ctype/isprint.c
index 56d9ed19..e7843442 100644
--- a/src/ctype/isprint.c
+++ b/src/ctype/isprint.c
@@ -1,7 +1,5 @@
-#if 0
-
#include <limits.h>
-#include "_assert.h"
+#include <stdio.h>
#include "_ctype.h"
/** test whether a character is printable **/
@@ -27,6 +25,3 @@ LC_CTYPE
C_LOCALE(`THIS() is true for any printing character including SPACE()')
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/ispunct.c b/src/ctype/ispunct.c
index 5bb3914e..7dcf3c99 100644
--- a/src/ctype/ispunct.c
+++ b/src/ctype/ispunct.c
@@ -1,7 +1,5 @@
-#if 0
-
#include <limits.h>
-#include "_assert.h"
+#include <stdio.h>
#include "_ctype.h"
/** test whether a character is punctuation **/
@@ -27,6 +25,3 @@ LC_CTYPE
C_LOCALE(`THIS() is true for printing characters for which neither FUNCTION(isspace) nor FUNCTION(isalnum) is true')
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/isspace.c b/src/ctype/isspace.c
index 2a0a4423..8c0a9c18 100644
--- a/src/ctype/isspace.c
+++ b/src/ctype/isspace.c
@@ -1,7 +1,5 @@
-#if 0
-
#include <limits.h>
-#include "_assert.h"
+#include <stdio.h>
#include "_ctype.h"
/** test whether a character is white-space **/
@@ -28,6 +26,3 @@ C_LOCALE(`THIS() is true for the standard white-space characters: SPACE, form fe
OTHER_LOCALES(`THIS() is true for the standard white-space characters and a set of characters for which FUNCTION(isalnum) is false')
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/isxdigit.c b/src/ctype/isxdigit.c
index 30d9205c..a534d2f0 100644
--- a/src/ctype/isxdigit.c
+++ b/src/ctype/isxdigit.c
@@ -1,7 +1,5 @@
-#if 0
-
#include <limits.h>
-#include "_assert.h"
+#include <stdio.h>
#include "_ctype.h"
/** test whether a character is a hexadecimal digit **/
@@ -27,6 +25,3 @@ LC_CTYPE
C_LOCALE(`THIS() is true for the characters CHAR(0), CHAR(1), CHAR(2), CHAR(3), CHAR(4), CHAR(5), CHAR(6), CHAR(7), CHAR(8), CHAR(9), CHAR(a), CHAR(b), CHAR(c), CHAR(d), CHAR(e), CHAR(f), CHAR(A), CHAR(B), CHAR(C), CHAR(D), CHAR(E), and CHAR(F)')
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/toascii.c b/src/ctype/toascii.c
index 118e97df..8a625b44 100644
--- a/src/ctype/toascii.c
+++ b/src/ctype/toascii.c
@@ -1,5 +1,3 @@
-#if 0
-
#include <ctype.h>
/** convert a character to 7-bit ASCII **/
@@ -18,6 +16,3 @@ RETURN(ARGUMENT(c) & 0x7f)
XOBSOLETE(700)
XOPEN(4)
*/
-
-
-#endif
diff --git a/src/ctype/tolower.c b/src/ctype/tolower.c
index 6cfe4a3c..02985d51 100644
--- a/src/ctype/tolower.c
+++ b/src/ctype/tolower.c
@@ -1,7 +1,6 @@
-#if 0
-
#include <stdio.h>
#include <limits.h>
+#include <stdio.h>
#include "_ctype.h"
/** convert an uppercase letter to lowercase **/
@@ -30,6 +29,3 @@ RETURN_FAILURE(ARGUMENT(c), ARGUMENT(c) was not an uppercase letter or it has no
LC_CTYPE
STDC(1)
*/
-
-
-#endif
diff --git a/src/ctype/toupper.c b/src/ctype/toupper.c
index 8c84a423..d797e0c6 100644
--- a/src/ctype/toupper.c
+++ b/src/ctype/toupper.c
@@ -1,7 +1,6 @@
-#if 0
-
#include <stdio.h>
#include <limits.h>
+#include <stdio.h>
#include "_ctype.h"
/** convert a lowercase letter to uppercase **/
@@ -30,6 +29,3 @@ RETURN_FAILURE(ARGUMENT(c), ARGUMENT(c) was not a lowercase letter or it has no
LC_CTYPE
STDC(1)
*/
-
-
-#endif