about summary refs log tree commit diff
path: root/src/string/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strncpy.c')
-rw-r--r--src/string/strncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strncpy.c b/src/string/strncpy.c
index c0cd7974..441ba033 100644
--- a/src/string/strncpy.c
+++ b/src/string/strncpy.c
@@ -2,7 +2,7 @@
 
 char *__stpncpy(char *, const char *, size_t);
 
-char *strncpy(char *d, const char *s, size_t n)
+char *strncpy(char *restrict d, const char *restrict s, size_t n)
 {
 	__stpncpy(d, s, n);
 	return d;