summaryrefslogtreecommitdiffstats
path: root/libc/stdio/setbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/setbuf.c')
-rw-r--r--libc/stdio/setbuf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/stdio/setbuf.c b/libc/stdio/setbuf.c
index 02a4736ac..6de2c91a1 100644
--- a/libc/stdio/setbuf.c
+++ b/libc/stdio/setbuf.c
@@ -7,9 +7,11 @@
#include "_stdio.h"
+libc_hidden_proto(setvbuf)
+
void setbuf(FILE * __restrict stream, register char * __restrict buf)
{
#ifdef __STDIO_BUFFERS
- __setvbuf(stream, buf, ((buf != NULL) ? _IOFBF : _IONBF), BUFSIZ);
+ setvbuf(stream, buf, ((buf != NULL) ? _IOFBF : _IONBF), BUFSIZ);
#endif
}