summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/asprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/asprintf.c')
-rw-r--r--newlib/libc/stdio/asprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/stdio/asprintf.c b/newlib/libc/stdio/asprintf.c
index 7b26d9f29..d04411251 100644
--- a/newlib/libc/stdio/asprintf.c
+++ b/newlib/libc/stdio/asprintf.c
@@ -27,8 +27,8 @@
int
_DEFUN(_asprintf_r, (ptr, strp, fmt),
struct _reent *ptr _AND
- char **strp _AND
- const char *fmt _DOTS)
+ char **__restrict strp _AND
+ const char *__restrict fmt _DOTS)
{
int ret;
va_list ap;
@@ -54,8 +54,8 @@ _DEFUN(_asprintf_r, (ptr, strp, fmt),
int
_DEFUN(asprintf, (strp, fmt),
- char **strp _AND
- const char *fmt _DOTS)
+ char **__restrict strp _AND
+ const char *__restrict fmt _DOTS)
{
int ret;
va_list ap;