summaryrefslogtreecommitdiff
path: root/src/ctype/iscntrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/iscntrl.c')
-rw-r--r--src/ctype/iscntrl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ctype/iscntrl.c b/src/ctype/iscntrl.c
index 31804123..eead7f5f 100644
--- a/src/ctype/iscntrl.c
+++ b/src/ctype/iscntrl.c
@@ -2,7 +2,6 @@
#include "limits.h"
#include "nonstd/assert.h"
#include "nonstd/ctype.h"
-#include "nonstd/internal.h"
/** test whether a character is a control character */
int iscntrl(int c)
@@ -15,7 +14,7 @@ int iscntrl(int c)
RETURN(0, ARGUMENT(c) is not a control character);
*/
- return map[c] == 0 || (map[c] == SPACE && c != ' ');
+ return map[c] == 0 || (map[c] == CT_SPACE && c != ' ');
}
/***