aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/sscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/sscanf.c')
-rw-r--r--newlib/libc/stdio/sscanf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/newlib/libc/stdio/sscanf.c b/newlib/libc/stdio/sscanf.c
index bfec067..8a32325 100644
--- a/newlib/libc/stdio/sscanf.c
+++ b/newlib/libc/stdio/sscanf.c
@@ -427,13 +427,13 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#ifdef _HAVE_STDC
int
_DEFUN(sscanf, (str, fmt),
- _CONST char *__restrict str,
- _CONST char * fmt _DOTS)
+ const char *__restrict str,
+ const char * fmt _DOTS)
#else
int
sscanf(str, fmt, va_alist)
- _CONST char *str;
- _CONST char *fmt;
+ const char *str;
+ const char *fmt;
va_dcl
#endif
{
@@ -470,14 +470,14 @@ _EXFUN(siscanf, (const char *, const char *, ...)
int
_DEFUN(_sscanf_r, (ptr, str, fmt),
struct _reent *ptr,
- _CONST char *__restrict str,
- _CONST char *__restrict fmt _DOTS)
+ const char *__restrict str,
+ const char *__restrict fmt _DOTS)
#else
int
_sscanf_r(ptr, str, fmt, va_alist)
struct _reent *ptr;
- _CONST char *__restrict str;
- _CONST char *__restrict fmt;
+ const char *__restrict str;
+ const char *__restrict fmt;
va_dcl
#endif
{