aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/vsnprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/vsnprintf.c')
-rw-r--r--newlib/libc/stdio/vsnprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/stdio/vsnprintf.c b/newlib/libc/stdio/vsnprintf.c
index 58106b6..d9f1e3d 100644
--- a/newlib/libc/stdio/vsnprintf.c
+++ b/newlib/libc/stdio/vsnprintf.c
@@ -33,9 +33,9 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(vsnprintf, (str, size, fmt, ap),
- char *str _AND
+ char *__restrict str _AND
size_t size _AND
- const char *fmt _AND
+ const char *__restrict fmt _AND
va_list ap)
{
return _vsnprintf_r (_REENT, str, size, fmt, ap);
@@ -46,9 +46,9 @@ _DEFUN(vsnprintf, (str, size, fmt, ap),
int
_DEFUN(_vsnprintf_r, (ptr, str, size, fmt, ap),
struct _reent *ptr _AND
- char *str _AND
+ char *__restrict str _AND
size_t size _AND
- const char *fmt _AND
+ const char *__restrict fmt _AND
va_list ap)
{
int ret;