aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/sprintf.c')
-rw-r--r--newlib/libc/stdio/sprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio/sprintf.c b/newlib/libc/stdio/sprintf.c
index 7fc9e68..7ed0a0f 100644
--- a/newlib/libc/stdio/sprintf.c
+++ b/newlib/libc/stdio/sprintf.c
@@ -581,8 +581,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
#ifdef _HAVE_STDC
_DEFUN(_sprintf_r, (ptr, str, fmt),
- struct _reent *ptr _AND
- char *__restrict str _AND
+ struct _reent *ptr,
+ char *__restrict str,
_CONST char *__restrict fmt _DOTS)
#else
_sprintf_r(ptr, str, fmt, va_alist)
@@ -622,7 +622,7 @@ _EXFUN(_siprintf_r, (struct _reent *, char *, const char *, ...)
int
#ifdef _HAVE_STDC
_DEFUN(sprintf, (str, fmt),
- char *__restrict str _AND
+ char *__restrict str,
_CONST char *__restrict fmt _DOTS)
#else
sprintf(str, fmt, va_alist)