aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-10-18 13:50:23 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-10-18 13:50:23 +0000
commit94095c61d8cb93be46e248eb7f8d7cd07da27396 (patch)
tree951dab91c1a5dbddc7978580841196381247a11e /lib
parent1cddd744ade9bbd9779b7320a1cd24696b722e2f (diff)
Added ISPRINT() required for src/main.c.
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 */