summaryrefslogtreecommitdiff
path: root/libc/stdio/scanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/scanf.c')
-rw-r--r--libc/stdio/scanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/scanf.c b/libc/stdio/scanf.c
index 5b932063c..80a8821e7 100644
--- a/libc/stdio/scanf.c
+++ b/libc/stdio/scanf.c
@@ -1015,7 +1015,7 @@ static int sc_getc(register struct scan_cookie *sc)
sc->fp->__modeflags |= __FLAG_EOF;
return EOF;
}
- } else if ((wc = fgetwc_unlocked(sc->fp)) == WEOF) {
+ } else if ((wc = __fgetwc_unlocked(sc->fp)) == WEOF) {
return EOF;
}
@@ -1061,7 +1061,7 @@ static int scan_getwc(register struct scan_cookie *sc)
sc->ungot_flag |= 2;
return -1;
}
- } else if ((wc = fgetwc_unlocked(sc->fp)) == WEOF) {
+ } else if ((wc = __fgetwc_unlocked(sc->fp)) == WEOF) {
sc->ungot_flag |= 2;
return -1;
}