projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor cleanup in fflush
[musl]
/
src
/
stdio
/
putchar_unlocked.c
diff --git
a/src/stdio/putchar_unlocked.c
b/src/stdio/putchar_unlocked.c
index
72d47d1
..
8b5d060
100644
(file)
--- a/
src/stdio/putchar_unlocked.c
+++ b/
src/stdio/putchar_unlocked.c
@@
-2,6
+2,5
@@
int putchar_unlocked(int c)
{
- return stdout->wpos < stdout->wstop ?
- (*stdout->wpos++ = c) : __overflow(stdout, c);
+ return putc_unlocked(c, stdout);
}