use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / multibyte / wcrtomb.c
index 36180c8..250649f 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "internal.h"
 
 
 #include "internal.h"
 
-size_t wcrtomb(char *s, wchar_t wc, mbstate_t *st)
+size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict st)
 {
        if (!s) return 1;
        if ((unsigned)wc < 0x80) {
 {
        if (!s) return 1;
        if ((unsigned)wc < 0x80) {