X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstdio%2Fputchar_unlocked.c;h=8b5d06034162679e604e3e4666ccf2a423050d1a;hb=6717e62ac0ebcea681c7db4fafd36d2a0f1d6034;hp=72d47d1539463781167fd8c06cee1bbdcb7861a3;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/stdio/putchar_unlocked.c b/src/stdio/putchar_unlocked.c index 72d47d15..8b5d0603 100644 --- 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); }