X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fctype%2Fisalpha.c;h=f155d3aa97048880a109a8838b79be1e946e2dc2;hb=76fd01177a32d602bc5ee7bd7ba65316adbae611;hp=53e115c29df71f92c4f627a67ef3bee99cb1e029;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl 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 +#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);