summaryrefslogtreecommitdiff
path: root/src/stdio/getc_unlocked.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/getc_unlocked.c')
-rw-r--r--src/stdio/getc_unlocked.c4
1 files changed, 2 insertions, 2 deletions
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);