X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Ffputc.c;h=f364ed38ba7471d3ca80f2d21560737eca642042;hb=8949da7ab1c0dbf801e8bc78f0c0adc625020f75;hp=98d0a20aca814bddf897c8049aff06af9c4cf75e;hpb=e3cd6c5c265cd481db6e0c5b529855d99f0bda30;p=musl diff --git a/src/stdio/fputc.c b/src/stdio/fputc.c index 98d0a20a..f364ed38 100644 --- a/src/stdio/fputc.c +++ b/src/stdio/fputc.c @@ -1,11 +1,7 @@ -#include "stdio_impl.h" +#include +#include "putc.h" int fputc(int c, FILE *f) { - FLOCK(f); - c = putc_unlocked(c, f); - FUNLOCK(f); - return c; + return do_putc(c, f); } - -weak_alias(fputc, putc);