projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mitigate blow-up of heap size under malloc/free contention
[musl]
/
src
/
ctype
/
ispunct.c
diff --git
a/src/ctype/ispunct.c
b/src/ctype/ispunct.c
index
fc45535
..
e772d76
100644
(file)
--- a/
src/ctype/ispunct.c
+++ b/
src/ctype/ispunct.c
@@
-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);