fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / swprintf.c
index 5ece97c41ed970b8834362830ce148206b132447..cbf83d235d8e0e436ff942cc1915f33b35848147 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;