diff options
Diffstat (limited to 'libc/string/generic/memcpy.c')
-rw-r--r-- | libc/string/generic/memcpy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/string/generic/memcpy.c b/libc/string/generic/memcpy.c index 9851fdea6..2fb48ebef 100644 --- a/libc/string/generic/memcpy.c +++ b/libc/string/generic/memcpy.c @@ -211,7 +211,7 @@ static void _wordcopy_fwd_dest_aligned (long int dstp, long int srcp, size_t len ((op_t *) dstp)[0] = MERGE (a2, sh_1, a3, sh_2); } -void *memcpy (void *dstpp, const void *srcpp, size_t len) +void attribute_hidden *__memcpy (void *dstpp, const void *srcpp, size_t len) { unsigned long int dstp = (long int) dstpp; unsigned long int srcp = (long int) srcpp; @@ -244,3 +244,5 @@ void *memcpy (void *dstpp, const void *srcpp, size_t len) return dstpp; } + +strong_alias(__memcpy, memcpy) |