summaryrefslogtreecommitdiff
path: root/libc/string/i386/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/i386/memcpy.c')
-rw-r--r--libc/string/i386/memcpy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/i386/memcpy.c b/libc/string/i386/memcpy.c
index 12ba8d7de..837d7d65b 100644
--- a/libc/string/i386/memcpy.c
+++ b/libc/string/i386/memcpy.c
@@ -32,7 +32,7 @@
#include <string.h>
-void attribute_hidden *__memcpy(void * to, const void * from, size_t n)
+void *memcpy(void * to, const void * from, size_t n)
{
int d0, d1, d2;
__asm__ __volatile__(
@@ -49,5 +49,5 @@ void attribute_hidden *__memcpy(void * to, const void * from, size_t n)
: "memory");
return (to);
}
-
-strong_alias(__memcpy,memcpy)
+libc_hidden_proto(memcpy)
+libc_hidden_def(memcpy)