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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdio/sscanf.c b/newlib/libc/stdio/sscanf.c
index 92983b1..a04f9b6 100644
--- a/newlib/libc/stdio/sscanf.c
+++ b/newlib/libc/stdio/sscanf.c
@@ -426,8 +426,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#ifdef _HAVE_STDC
int
-_DEFUN(sscanf, (str, fmt),
- const char *__restrict str,
+sscanf (const char *__restrict str,
const char * fmt, ...)
#else
int
@@ -468,8 +467,7 @@ _EXFUN(siscanf, (const char *, const char *, ...)
#ifdef _HAVE_STDC
int
-_DEFUN(_sscanf_r, (ptr, str, fmt),
- struct _reent *ptr,
+_sscanf_r (struct _reent *ptr,
const char *__restrict str,
const char *__restrict fmt, ...)
#else