use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / vsnprintf.c
index ba17bd7..6f19b02 100644 (file)
@@ -10,7 +10,7 @@ static size_t sn_write(FILE *f, const unsigned char *s, size_t l)
        return l;
 }
 
-int vsnprintf(char *s, size_t n, const char *fmt, va_list ap)
+int vsnprintf(char *restrict s, size_t n, const char *restrict fmt, va_list ap)
 {
        int r;
        char b;