Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/stpncpy.c')
-rw-r--r--newlib/libc/string/stpncpy.c7
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;