about summary refs log tree commit diff
path: root/src/string/memccpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/memccpy.c')
-rw-r--r--src/string/memccpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/memccpy.c b/src/string/memccpy.c
index 2ccb31bb..b85009c8 100644
--- a/src/string/memccpy.c
+++ b/src/string/memccpy.c
@@ -8,7 +8,7 @@
 #define HIGHS (ONES * (UCHAR_MAX/2+1))
 #define HASZERO(x) ((x)-ONES & ~(x) & HIGHS)
 
-void *memccpy(void *dest, const void *src, int c, size_t n)
+void *memccpy(void *restrict dest, const void *restrict src, int c, size_t n)
 {
 	unsigned char *d = dest;
 	const unsigned char *s = src;