summaryrefslogtreecommitdiff
path: root/nasmlib.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-21 11:03:51 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-21 11:03:51 -0700
commitf221b9ee0876124630cbdefc803d94394f847ee9 (patch)
tree11bb9b2b2ad56c51aa7d2269adfab0947b39e8f6 /nasmlib.h
parentbda7a6e3715b270ebb0854b3cef667976d241d96 (diff)
downloadnasm-f221b9ee0876124630cbdefc803d94394f847ee9.tar.gz
nasm-f221b9ee0876124630cbdefc803d94394f847ee9.tar.bz2
nasm-f221b9ee0876124630cbdefc803d94394f847ee9.zip
Fix a few more <ctype.h> instances
A few isolated instances of isalpha() and isxdigit().
Diffstat (limited to 'nasmlib.h')
-rw-r--r--nasmlib.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/nasmlib.h b/nasmlib.h
index 51e787d..5492208 100644
--- a/nasmlib.h
+++ b/nasmlib.h
@@ -29,9 +29,11 @@ extern unsigned char nasm_tolower_tab[256];
/* Wrappers around <ctype.h> functions */
/* These are only valid for values that cannot include EOF */
-#define nasm_isspace(x) isspace((unsigned char)(x))
-#define nasm_isalnum(x) isalnum((unsigned char)(x))
-#define nasm_isdigit(x) isdigit((unsigned char)(x))
+#define nasm_isspace(x) isspace((unsigned char)(x))
+#define nasm_isalpha(x) isalpha((unsigned char)(x))
+#define nasm_isdigit(x) isdigit((unsigned char)(x))
+#define nasm_isalnum(x) isalnum((unsigned char)(x))
+#define nasm_isxdigit(x) isxdigit((unsigned char)(x))
/*
* If this is defined, the wrappers around malloc et al will