use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / fputs.c
index e6bdb20..b41bc8c 100644 (file)
@@ -1,6 +1,6 @@
 #include "stdio_impl.h"
 
 #include "stdio_impl.h"
 
-int fputs(const char *s, FILE *f)
+int fputs(const char *restrict s, FILE *restrict f)
 {
        size_t l = strlen(s);
        if (!l) return 0;
 {
        size_t l = strlen(s);
        if (!l) return 0;