diff options
Diffstat (limited to 'src/ctype/isalpha.c')
-rw-r--r-- | src/ctype/isalpha.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ctype/isalpha.c b/src/ctype/isalpha.c index 53e115c2..f155d3aa 100644 --- a/src/ctype/isalpha.c +++ b/src/ctype/isalpha.c @@ -1,7 +1,15 @@ #include <ctype.h> +#include "libc.h" #undef isalpha int isalpha(int c) { return ((unsigned)c|32)-'a' < 26; } + +int __isalpha_l(int c, locale_t l) +{ + return isalpha(c); +} + +weak_alias(__isalpha_l, isalpha_l); |