X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fctype%2Fisgraph.c;h=292d1983ec5b717e66e2db62afacb078a267fbbf;hb=e8aba58ab19a18f83d7f78e80d5e4f51e7e4e8a9;hp=98979d1e898b996d1ab17b8fcdb92d3c56a269a3;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/ctype/isgraph.c b/src/ctype/isgraph.c index 98979d1e..292d1983 100644 --- a/src/ctype/isgraph.c +++ b/src/ctype/isgraph.c @@ -1,4 +1,14 @@ +#include +#undef isgraph + int isgraph(int c) { return (unsigned)c-0x21 < 0x5e; } + +int __isgraph_l(int c, locale_t l) +{ + return isgraph(c); +} + +weak_alias(__isgraph_l, isgraph_l);