about summary refs log tree commit diff
path: root/src/string/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/memcpy.c')
-rw-r--r--src/string/memcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/memcpy.c b/src/string/memcpy.c
index 02cb4694..8e98302f 100644
--- a/src/string/memcpy.c
+++ b/src/string/memcpy.c
@@ -6,7 +6,7 @@
 #define ALIGN (sizeof(size_t)-1)
 #define ONES ((size_t)-1/UCHAR_MAX)
 
-void *memcpy(void *dest, const void *src, size_t n)
+void *memcpy(void *restrict dest, const void *restrict src, size_t n)
 {
 	unsigned char *d = dest;
 	const unsigned char *s = src;