summaryrefslogtreecommitdiff
path: root/libc/stdio/scanf.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:38:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:38:38 +0000
commitd482ef60da96645599b808bb74fe014e1ab4671e (patch)
treecf7028139dad0bcca533c61f5a3fbbcec60696ea /libc/stdio/scanf.c
parent59bf5cbe99873625ce3d5a9b984e9b98e659eefa (diff)
Get rid of warnings, use internals, create new hidden versions
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 04f30e0a5..7fe11514d 100644
--- a/libc/stdio/scanf.c
+++ b/libc/stdio/scanf.c
@@ -595,7 +595,7 @@ typedef unsigned char __uchar_t;
#ifdef __UCLIBC_HAS_WCHAR__
#define GETC(SC) (SC)->sc_getc((SC))
#else /* __UCLIBC_HAS_WCHAR__ */
-#define GETC(SC) getc_unlocked((SC)->fp)
+#define GETC(SC) __getc_unlocked((SC)->fp)
#endif /* __UCLIBC_HAS_WCHAR__ */
#endif
@@ -959,7 +959,7 @@ int attribute_hidden __psfs_parse_spec(register psfs_t *psfs)
#ifdef L_vfscanf
static int sc_getc(register struct scan_cookie *sc)
{
- return (getc_unlocked)(sc->fp); /* Disable the macro. */
+ return (__getc_unlocked)(sc->fp); /* Disable the macro. */
}
static int scan_getwc(register struct scan_cookie *sc)