summaryrefslogtreecommitdiff
path: root/libc/string/powerpc/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/powerpc/memcpy.c')
-rw-r--r--libc/string/powerpc/memcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/powerpc/memcpy.c b/libc/string/powerpc/memcpy.c
index 8ed03e526..ed8022313 100644
--- a/libc/string/powerpc/memcpy.c
+++ b/libc/string/powerpc/memcpy.c
@@ -21,6 +21,7 @@
#include <string.h>
+libc_hidden_proto(memcpy)
void *memcpy(void *to, const void *from, size_t n)
/* PPC can do pre increment and load/store, but not post increment and load/store.
Therefore use *++ptr instead of *ptr++. */
@@ -76,5 +77,4 @@ void *memcpy(void *to, const void *from, size_t n)
goto copy_chunks;
goto lessthan8;
}
-libc_hidden_proto(memcpy)
libc_hidden_def(memcpy)