work around constant folding bug 61144 in gcc 4.9.0 and 4.9.1
[oweals/musl.git] / src / stdio / setbuf.c
1 #include <stdio.h>
2
3 void setbuf(FILE *restrict f, char *restrict buf)
4 {
5         setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
6 }