X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Fgetc_unlocked.c;h=203a1081f9981a28668b44ffaee47a3bb13a74e6;hb=e3cd6c5c265cd481db6e0c5b529855d99f0bda30;hp=629223eaa97a401354a8889b9d84861706939fdc;hpb=ea343364a719add2cd8adf8a50c15bb5f9400dd8;p=musl diff --git a/src/stdio/getc_unlocked.c b/src/stdio/getc_unlocked.c index 629223ea..203a1081 100644 --- a/src/stdio/getc_unlocked.c +++ b/src/stdio/getc_unlocked.c @@ -1,8 +1,8 @@ #include "stdio_impl.h" -int getc_unlocked(FILE *f) +int (getc_unlocked)(FILE *f) { - return f->rpos < f->rstop ? *f->rpos++ : __uflow(f); + return getc_unlocked(f); } weak_alias (getc_unlocked, fgetc_unlocked);