diff options
author | Mike Smith <msmith@FreeBSD.org> | 2001-04-29 19:06:57 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 2001-04-29 19:06:57 +0000 |
commit | 688ad9f33667f317621a0caae11fe0d67bec6c18 (patch) | |
tree | 3c3d4aa626301dbeb0d00b1666b6f02959f0c5a9 | |
parent | 21a6b0d3baa522026c7ecf2f8b09e46ec84021a2 (diff) | |
download | src-688ad9f33667f317621a0caae11fe0d67bec6c18.tar.gz src-688ad9f33667f317621a0caae11fe0d67bec6c18.zip |
Unbreak world by defining isalnum() for libstand consumers.
Notes
Notes:
svn path=/head/; revision=76136
-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 b3d7c412ae57..8d39e46d6c4a 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) { |