diff options
Diffstat (limited to 'newlib/libc/string/stpncpy.c')
-rw-r--r-- | newlib/libc/string/stpncpy.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/newlib/libc/string/stpncpy.c b/newlib/libc/string/stpncpy.c index fca10d398..abd9bbdbf 100644 --- a/newlib/libc/string/stpncpy.c +++ b/newlib/libc/string/stpncpy.c @@ -7,7 +7,8 @@ INDEX ANSI_SYNOPSIS #include <string.h> - char *stpncpy(char *<[dst]>, const char *<[src]>, size_t <[length]>); + char *stpncpy(char *restrict <[dst]>, const char *restrict <[src]>, + size_t <[length]>); TRAD_SYNOPSIS #include <string.h> @@ -68,8 +69,8 @@ QUICKREF char * _DEFUN (stpncpy, (dst, src), - char *dst _AND - _CONST char *src _AND + char *__restrict dst _AND + _CONST char *__restrict src _AND size_t count) { char *ret = NULL; |