aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/asnprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/asnprintf.c')
-rw-r--r--newlib/libc/stdio/asnprintf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/stdio/asnprintf.c b/newlib/libc/stdio/asnprintf.c
index 31e4c7f..a37c503 100644
--- a/newlib/libc/stdio/asnprintf.c
+++ b/newlib/libc/stdio/asnprintf.c
@@ -15,10 +15,10 @@
char *
_DEFUN(_asnprintf_r, (ptr, buf, lenp, fmt),
- struct _reent *ptr _AND
+ struct _reent *__restrict ptr _AND
char *buf _AND
size_t *lenp _AND
- const char *fmt _DOTS)
+ const char *__restrict fmt _DOTS)
{
int ret;
va_list ap;
@@ -62,9 +62,9 @@ _DEFUN(_asnprintf_r, (ptr, buf, lenp, fmt),
char *
_DEFUN(asnprintf, (buf, lenp, fmt),
- char *buf _AND
- size_t *lenp _AND
- const char *fmt _DOTS)
+ char *__restrict buf _AND
+ size_t *__restrict lenp _AND
+ const char *__restrict fmt _DOTS)
{
int ret;
va_list ap;