use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / printf.c
index 7b7c329..cebfe40 100644 (file)
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <stdarg.h>
 
-int printf(const char *fmt, ...)
+int printf(const char *restrict fmt, ...)
 {
        int ret;
        va_list ap;