diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-06-21 11:03:51 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-21 11:03:51 -0700 |
commit | f221b9ee0876124630cbdefc803d94394f847ee9 (patch) | |
tree | 11bb9b2b2ad56c51aa7d2269adfab0947b39e8f6 /nasmlib.h | |
parent | bda7a6e3715b270ebb0854b3cef667976d241d96 (diff) | |
download | nasm-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.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |