From c842ff73e769b4c35007c866778be0b3840160fe Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 15 Jul 2011 08:04:17 +0000 Subject: * libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_r to make sure CHECK_INIT is called. (_fscanf_r): Ditto. * /libc/stdio/scanf.c (scanf): Ditto. (_scanf_r): Ditto. * libc/stdio/fwscanf.c (fwscanf): Call _vfwscanf_r instead of __svfwscanf_r to make sure CHECK_INIT is called. (_fwscanf_r): Ditto. * libc/stdio/wscanf.c (wscanf): Ditto. (_wscanf_r): Ditto. --- newlib/libc/stdio/fwscanf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/libc/stdio/fwscanf.c') diff --git a/newlib/libc/stdio/fwscanf.c b/newlib/libc/stdio/fwscanf.c index 8d5236edc..f013cb8f9 100644 --- a/newlib/libc/stdio/fwscanf.c +++ b/newlib/libc/stdio/fwscanf.c @@ -31,7 +31,7 @@ fwscanf (FILE *fp, _CONST wchar_t *fmt, ...) va_list ap; va_start (ap, fmt); - ret = __svfwscanf_r (_REENT, fp, fmt, ap); + ret = _vfwscanf_r (_REENT, fp, fmt, ap); va_end (ap); return ret; } @@ -45,7 +45,7 @@ _fwscanf_r (struct _reent *ptr, FILE *fp, _CONST wchar_t *fmt, ...) va_list ap; va_start (ap, fmt); - ret = __svfwscanf_r (ptr, fp, fmt, ap); + ret = _vfwscanf_r (ptr, fp, fmt, ap); va_end (ap); return (ret); } -- cgit v1.2.3