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