summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/strncat.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/strncat.c')
-rw-r--r--newlib/libc/string/strncat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/newlib/libc/string/strncat.c b/newlib/libc/string/strncat.c
index 0f29247a8..d31a0302c 100644
--- a/newlib/libc/string/strncat.c
+++ b/newlib/libc/string/strncat.c
@@ -7,7 +7,8 @@ INDEX
ANSI_SYNOPSIS
#include <string.h>
- char *strncat(char *<[dst]>, const char *<[src]>, size_t <[length]>);
+ char *strncat(char *<restrict [dst]>, const char *<restrict [src]>,
+ size_t <[length]>);
TRAD_SYNOPSIS
#include <string.h>
@@ -65,8 +66,8 @@ QUICKREF
char *
_DEFUN (strncat, (s1, s2, n),
- char *s1 _AND
- _CONST char *s2 _AND
+ char *__restrict s1 _AND
+ _CONST char *__restrict s2 _AND
size_t n)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)