aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/setup_once.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/setup_once.h b/lib/setup_once.h
index 52e12a5be..5573cbcb2 100644
--- a/lib/setup_once.h
+++ b/lib/setup_once.h
@@ -123,7 +123,7 @@
/*
- * Uppercase macro versions of ANSI/ISO is*() functions/macros which
+ * Uppercase macro versions of ANSI/ISO is*() functions/macros which
* avoid negative number inputs with argument byte codes > 127.
*/
@@ -133,6 +133,7 @@
#define ISXDIGIT(x) (isxdigit((int) ((unsigned char)x)))
#define ISGRAPH(x) (isgraph((int) ((unsigned char)x)))
#define ISALPHA(x) (isalpha((int) ((unsigned char)x)))
+#define ISPRINT(x) (isprint((int) ((unsigned char)x)))
#endif /* __SETUP_ONCE_H */