summaryrefslogtreecommitdiff
path: root/src/string/stpncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/stpncpy.c')
-rw-r--r--src/string/stpncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/stpncpy.c b/src/string/stpncpy.c
index a04cdce8..0a2c2a9d 100644
--- a/src/string/stpncpy.c
+++ b/src/string/stpncpy.c
@@ -9,7 +9,7 @@
#define HIGHS (ONES * (UCHAR_MAX/2+1))
#define HASZERO(x) ((x)-ONES & ~(x) & HIGHS)
-char *__stpncpy(char *d, const char *s, size_t n)
+char *__stpncpy(char *restrict d, const char *restrict s, size_t n)
{
size_t *wd;
const size_t *ws;