Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-07-15 12:04:17 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-07-15 12:04:17 +0400
commitc842ff73e769b4c35007c866778be0b3840160fe (patch)
treef74608191682e08dcdf4f901356799b63f8ceb94 /newlib/libc/stdio/fscanf.c
parent27a249f5138001eeaf232580235d83ef956cfc76 (diff)
* 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.
Diffstat (limited to 'newlib/libc/stdio/fscanf.c')
-rw-r--r--newlib/libc/stdio/fscanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/fscanf.c b/newlib/libc/stdio/fscanf.c
index c00a4690e..afbc2f0e8 100644
--- a/newlib/libc/stdio/fscanf.c
+++ b/newlib/libc/stdio/fscanf.c
@@ -45,7 +45,7 @@ fscanf(FILE *fp, fmt, va_alist)
#else
va_start (ap);
#endif
- ret = __svfscanf_r (_REENT, fp, fmt, ap);
+ ret = _vfscanf_r (_REENT, fp, fmt, ap);
va_end (ap);
return ret;
}
@@ -71,7 +71,7 @@ _fscanf_r(ptr, FILE *fp, fmt, va_alist)
#else
va_start (ap);
#endif
- ret = __svfscanf_r (ptr, fp, fmt, ap);
+ ret = _vfscanf_r (ptr, fp, fmt, ap);
va_end (ap);
return (ret);
}