fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / setbuf.c
index 1b98d5039c1896551145e7ebe39511ef02bf70a4..74ad7834ae59f20b8a9c4e25ff471313e6776e24 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);
 }