aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/scanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/scanf.c')
-rw-r--r--newlib/libc/stdio/scanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/scanf.c b/newlib/libc/stdio/scanf.c
index 733a638..cf1472b 100644
--- a/newlib/libc/stdio/scanf.c
+++ b/newlib/libc/stdio/scanf.c
@@ -39,7 +39,7 @@ scanf(fmt, va_alist)
int ret;
va_list ap;
- _REENT_SMALL_CHECK_INIT (_stdin_r (_REENT));
+ _REENT_SMALL_CHECK_INIT (_REENT);
#ifdef _HAVE_STDC
va_start (ap, fmt);
#else
@@ -65,7 +65,7 @@ _scanf_r(ptr, fmt, va_alist)
int ret;
va_list ap;
- _REENT_SMALL_CHECK_INIT (_stdin_r (ptr));
+ _REENT_SMALL_CHECK_INIT (ptr);
#ifdef _HAVE_STDC
va_start (ap, fmt);
#else