summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/viscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/viscanf.c')
-rw-r--r--newlib/libc/stdio/viscanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/viscanf.c b/newlib/libc/stdio/viscanf.c
index 15388a404..e5287acac 100644
--- a/newlib/libc/stdio/viscanf.c
+++ b/newlib/libc/stdio/viscanf.c
@@ -121,7 +121,7 @@ _DEFUN(viscanf, (fmt, ap),
_CONST char *fmt _AND
va_list ap)
{
- _REENT_SMALL_CHECK_INIT (_stdin_r (_REENT));
+ _REENT_SMALL_CHECK_INIT (_REENT);
return __svfiscanf_r (_REENT, _stdin_r (_REENT), fmt, ap);
}
@@ -133,7 +133,7 @@ _DEFUN(_viscanf_r, (ptr, fmt, ap),
_CONST char *fmt _AND
va_list ap)
{
- _REENT_SMALL_CHECK_INIT (_stdin_r (ptr));
+ _REENT_SMALL_CHECK_INIT (ptr);
return __svfiscanf_r (ptr, _stdin_r (ptr), fmt, ap);
}