diff options
Diffstat (limited to 'newlib/libc/string/strcat.c')
-rw-r--r-- | newlib/libc/string/strcat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/string/strcat.c b/newlib/libc/string/strcat.c index 411eadb85..1e4614991 100644 --- a/newlib/libc/string/strcat.c +++ b/newlib/libc/string/strcat.c @@ -7,7 +7,7 @@ INDEX ANSI_SYNOPSIS #include <string.h> - char *strcat(char *<[dst]>, const char *<[src]>); + char *strcat(char *restrict <[dst]>, const char *restrict <[src]>); TRAD_SYNOPSIS #include <string.h> @@ -61,8 +61,8 @@ QUICKREF char * _DEFUN (strcat, (s1, s2), - char *s1 _AND - _CONST char *s2) + char *__restrict s1 _AND + _CONST char *__restrict s2) { #if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) char *s = s1; |