diff options
Diffstat (limited to 'newlib/libc/string/stpcpy.c')
-rw-r--r-- | newlib/libc/string/stpcpy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/string/stpcpy.c b/newlib/libc/string/stpcpy.c index 62fe79997..bc58f4771 100644 --- a/newlib/libc/string/stpcpy.c +++ b/newlib/libc/string/stpcpy.c @@ -7,7 +7,7 @@ INDEX ANSI_SYNOPSIS #include <string.h> - char *stpcpy(char *<[dst]>, const char *<[src]>); + char *stpcpy(char *restrict <[dst]>, const char *restrict <[src]>); TRAD_SYNOPSIS #include <string.h> @@ -60,8 +60,8 @@ QUICKREF char* _DEFUN (stpcpy, (dst, src), - char *dst _AND - _CONST char *src) + char *__restrict dst _AND + _CONST char *__restrict src) { #if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__) long *aligned_dst; |