diff options
author | msmith <msmith@FreeBSD.org> | 2001-04-29 19:06:57 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-04-29 19:06:57 +0000 |
commit | d5cca47fac5a27ceee91b9b35ebb07de279bc888 (patch) | |
tree | 2bbac20b45e918e9626cf8080a70c9ad6b3cc060 /lib | |
parent | 3dfa0f1956ad0baa54770201e18c15b355252b77 (diff) | |
download | FreeBSD-src-d5cca47fac5a27ceee91b9b35ebb07de279bc888.zip FreeBSD-src-d5cca47fac5a27ceee91b9b35ebb07de279bc888.tar.gz |
Unbreak world by defining isalnum() for libstand consumers.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libstand/stand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index b3d7c41..8d39e46 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -182,6 +182,7 @@ extern struct open_file files[]; #define isxdigit(c) (isdigit(c) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) #define isascii(c) (((c) & ~0x7F) == 0) #define isalpha(c) (isupper(c) || (islower(c))) +#define isalnum(c) (isalpha(c) || isdigit(c)) static __inline int toupper(int c) { |