add multiple inclusion guard to locale_impl.h
[musl] / src / ctype / isalpha.c
1 #include <ctype.h>
2 #include "libc.h"
3 #undef isalpha
4
5 int isalpha(int c)
6 {
7         return ((unsigned)c|32)-'a' < 26;
8 }
9
10 int __isalpha_l(int c, locale_t l)
11 {
12         return isalpha(c);
13 }
14
15 weak_alias(__isalpha_l, isalpha_l);