aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fmemopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fmemopen.c')
-rw-r--r--newlib/libc/stdio/fmemopen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/stdio/fmemopen.c b/newlib/libc/stdio/fmemopen.c
index 44b0c6d..17a3c9b 100644
--- a/newlib/libc/stdio/fmemopen.c
+++ b/newlib/libc/stdio/fmemopen.c
@@ -270,9 +270,9 @@ _DEFUN(fmemcloser, (ptr, cookie),
FILE *
_DEFUN(_fmemopen_r, (ptr, buf, size, mode),
struct _reent *ptr _AND
- void *buf _AND
+ void *__restrict buf _AND
size_t size _AND
- const char *mode)
+ const char *__restrict mode)
{
FILE *fp;
fmemcookie *c;
@@ -362,9 +362,9 @@ _DEFUN(_fmemopen_r, (ptr, buf, size, mode),
#ifndef _REENT_ONLY
FILE *
_DEFUN(fmemopen, (buf, size, mode),
- void *buf _AND
+ void *__restrict buf _AND
size_t size _AND
- const char *mode)
+ const char *__restrict mode)
{
return _fmemopen_r (_REENT, buf, size, mode);
}