X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstdio%2Fputc_unlocked.c;h=b47876c9f7541580f13f081f97d59fe3625073a7;hp=f01da7172644f6c6501b9b260220a7df00ef2640;hb=e3cd6c5c265cd481db6e0c5b529855d99f0bda30;hpb=ea343364a719add2cd8adf8a50c15bb5f9400dd8 diff --git a/src/stdio/putc_unlocked.c b/src/stdio/putc_unlocked.c index f01da717..b47876c9 100644 --- a/src/stdio/putc_unlocked.c +++ b/src/stdio/putc_unlocked.c @@ -1,8 +1,8 @@ #include "stdio_impl.h" -int putc_unlocked(int c, FILE *f) +int (putc_unlocked)(int c, FILE *f) { - return f->wpos < f->wstop ? (*f->wpos++ = c) : __overflow(f, c); + return putc_unlocked(c, f); } weak_alias(putc_unlocked, fputc_unlocked);