mitigate blow-up of heap size under malloc/free contention
[musl] / src / ctype / ispunct.c
index fc45535..e772d76 100644 (file)
@@ -1,6 +1,14 @@
 #include <ctype.h>
+#include "libc.h"
 
 int ispunct(int c)
 {
        return isgraph(c) && !isalnum(c);
 }
+
+int __ispunct_l(int c, locale_t l)
+{
+       return ispunct(c);
+}
+
+weak_alias(__ispunct_l, ispunct_l);