projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
if pthread_create fails, it must not attempt mmap if there is no mapping
[musl]
/
src
/
stdio
/
setbuf.c
diff --git
a/src/stdio/setbuf.c
b/src/stdio/setbuf.c
index
205afcf
..
74ad783
100644
(file)
--- a/
src/stdio/setbuf.c
+++ b/
src/stdio/setbuf.c
@@
-1,6
+1,6
@@
-#include
"stdio_impl.h"
+#include
<stdio.h>
-void setbuf(FILE *
f, char *
buf)
+void setbuf(FILE *
restrict f, char *restrict
buf)
{
setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
}
{
setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
}