summaryrefslogtreecommitdiff
path: root/src/string/strncat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strncat.c')
-rw-r--r--src/string/strncat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strncat.c b/src/string/strncat.c
index 08685ad6..01ca2a23 100644
--- a/src/string/strncat.c
+++ b/src/string/strncat.c
@@ -1,6 +1,6 @@
#include <string.h>
-char *strncat(char *d, const char *s, size_t n)
+char *strncat(char *restrict d, const char *restrict s, size_t n)
{
char *a = d;
d += strlen(d);