X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstring%2Fmemcpy.c;h=8e98302f3d3f0777f3bb5a98e52e98ebb8a69662;hb=facc6acbfd20accea435d10fdd070b23877e40db;hp=02cb4694252e5c0b07e6c5666a8f53018d493107;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl 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;