aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/snprintf.c')
-rw-r--r--newlib/libc/stdio/snprintf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/stdio/snprintf.c b/newlib/libc/stdio/snprintf.c
index d2408b2..2066a56 100644
--- a/newlib/libc/stdio/snprintf.c
+++ b/newlib/libc/stdio/snprintf.c
@@ -32,9 +32,9 @@
int
#ifdef _HAVE_STDC
_DEFUN(_snprintf_r, (ptr, str, size, fmt),
- struct _reent *ptr _AND
- char *__restrict str _AND
- size_t size _AND
+ struct _reent *ptr,
+ char *__restrict str,
+ size_t size,
_CONST char *__restrict fmt _DOTS)
#else
_snprintf_r(ptr, str, size, fmt, va_alist)
@@ -83,8 +83,8 @@ _EXFUN(_sniprintf_r, (struct _reent *, char *, size_t, const char *, ...)
int
#ifdef _HAVE_STDC
_DEFUN(snprintf, (str, size, fmt),
- char *__restrict str _AND
- size_t size _AND
+ char *__restrict str,
+ size_t size,
_CONST char *__restrict fmt _DOTS)
#else
snprintf(str, size, fmt, va_alist)