fix failure to preserve r6 in s390x asm; per ABI it is call-saved
[musl] / src / ctype / isgraph.c
index 98979d1..292d198 100644 (file)
@@ -1,4 +1,14 @@
+#include <ctype.h>
+#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);