use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / setbuf.c
index 1b98d50..74ad783 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdio.h>
 
-void setbuf(FILE *f, char *buf)
+void setbuf(FILE *restrict f, char *restrict buf)
 {
        setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
 }