diff options
Diffstat (limited to 'newlib/libc/string/memccpy.c')
-rw-r--r-- | newlib/libc/string/memccpy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/string/memccpy.c b/newlib/libc/string/memccpy.c index a6f45e8b3..dded85781 100644 --- a/newlib/libc/string/memccpy.c +++ b/newlib/libc/string/memccpy.c @@ -4,7 +4,7 @@ FUNCTION ANSI_SYNOPSIS #include <string.h> - void* memccpy(void *<[out]>, const void *<[in]>, + void* memccpy(void *restrict <[out]>, const void *restrict <[in]>, int <[endchar]>, size_t <[n]>); TRAD_SYNOPSIS @@ -64,8 +64,8 @@ PORTABILITY _PTR _DEFUN (memccpy, (dst0, src0, endchar, len0), - _PTR dst0 _AND - _CONST _PTR src0 _AND + _PTR __restrict dst0 _AND + _CONST _PTR __restrict src0 _AND int endchar0 _AND size_t len0) { |