use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / swprintf.c
index 5ece97c..cbf83d2 100644 (file)
@@ -2,7 +2,7 @@
 #include <stdarg.h>
 #include <wchar.h>
 
-int swprintf(wchar_t *s, size_t n, const wchar_t *fmt, ...)
+int swprintf(wchar_t *restrict s, size_t n, const wchar_t *restrict fmt, ...)
 {
        int ret;
        va_list ap;