X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fctype%2Fiswspace.c;h=263afa15c5d746bd5421f5c2271587d2d08f8f28;hb=db505b794c697631f65e6b91ff106496debb86ac;hp=b0c0ae18cf225820891b050082b12266d135374f;hpb=d8e8f1464cb02d6a62f01c7153ca4d7b0cd5c5e6;p=musl diff --git a/src/ctype/iswspace.c b/src/ctype/iswspace.c index b0c0ae18..263afa15 100644 --- a/src/ctype/iswspace.c +++ b/src/ctype/iswspace.c @@ -1,6 +1,5 @@ #include #include -#include /* Our definition of whitespace is the Unicode White_Space property, * minus non-breaking spaces (U+00A0, U+2007, and U+202F) and script- @@ -16,3 +15,10 @@ int iswspace(wint_t wc) }; return wc && wcschr(spaces, wc); } + +int __iswspace_l(wint_t c, locale_t l) +{ + return iswspace(c); +} + +weak_alias(__iswspace_l, iswspace_l);