major stdio overhaul, using readv/writev, plus other changes
[musl] / src / stdio / getc_unlocked.c
index 629223e..203a108 100644 (file)
@@ -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);