X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Fgetchar_unlocked.c;h=355ac318d43d2371af6399bf7652d2baabf5d9b4;hb=6d861ac87491a207e4599c44b61d142f0a601c2d;hp=299cb9585b354ca86bc4541ebe3114d16451c77a;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/stdio/getchar_unlocked.c b/src/stdio/getchar_unlocked.c index 299cb958..355ac318 100644 --- a/src/stdio/getchar_unlocked.c +++ b/src/stdio/getchar_unlocked.c @@ -2,5 +2,5 @@ int getchar_unlocked(void) { - return stdin->rpos < stdin->rstop ? *stdin->rpos++ : __uflow(stdin); + return getc_unlocked(stdin); }