aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/vscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/vscanf.c')
-rw-r--r--newlib/libc/stdio/vscanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/vscanf.c b/newlib/libc/stdio/vscanf.c
index 2506919..260359a 100644
--- a/newlib/libc/stdio/vscanf.c
+++ b/newlib/libc/stdio/vscanf.c
@@ -31,7 +31,7 @@
int
_DEFUN(vscanf, (fmt, ap),
- _CONST char *fmt,
+ const char *fmt,
va_list ap)
{
struct _reent *reent = _REENT;
@@ -50,7 +50,7 @@ _EXFUN(viscanf, (const char *, __VALIST) _ATTRIBUTE ((__alias__("vscanf"))));
int
_DEFUN(_vscanf_r, (ptr, fmt, ap),
struct _reent *ptr,
- _CONST char *__restrict fmt,
+ const char *__restrict fmt,
va_list ap)
{
_REENT_SMALL_CHECK_INIT (ptr);