projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix restrict violations in internal use of several functions
[musl]
/
src
/
ctype
/
iswctype.c
diff --git
a/src/ctype/iswctype.c
b/src/ctype/iswctype.c
index
d917975
..
71b09b8
100644
(file)
--- a/
src/ctype/iswctype.c
+++ b/
src/ctype/iswctype.c
@@
-1,4
+1,3
@@
-#include <wchar.h>
#include <wctype.h>
#include <string.h>
#include <wctype.h>
#include <string.h>
@@
-61,3
+60,16
@@
wctype_t wctype(const char *s)
return i;
return 0;
}
return i;
return 0;
}
+
+int __iswctype_l(wint_t c, wctype_t t, locale_t l)
+{
+ return iswctype(c, t);
+}
+
+wctype_t __wctype_l(const char *s, locale_t l)
+{
+ return wctype(s);
+}
+
+weak_alias(__iswctype_l, iswctype_l);
+weak_alias(__wctype_l, wctype_l);