use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / vsprintf.c
index 7836ccb..c57349d 100644 (file)
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <limits.h>
 
-int vsprintf(char *s, const char *fmt, va_list ap)
+int vsprintf(char *restrict s, const char *restrict fmt, va_list ap)
 {
        return vsnprintf(s, INT_MAX, fmt, ap);
 }