diff options
Diffstat (limited to 'libc/string/powerpc')
-rw-r--r-- | libc/string/powerpc/memcpy.c | 2 | ||||
-rw-r--r-- | libc/string/powerpc/memmove.c | 2 | ||||
-rw-r--r-- | libc/string/powerpc/memset.c | 3 |
3 files changed, 4 insertions, 3 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) diff --git a/libc/string/powerpc/memmove.c b/libc/string/powerpc/memmove.c index 10e46867c..5f21f5f2f 100644 --- a/libc/string/powerpc/memmove.c +++ b/libc/string/powerpc/memmove.c @@ -21,6 +21,7 @@ #include <string.h> +libc_hidden_proto(memmove) void *memmove(void *to, const void *from, size_t n) { unsigned long rem, chunks, tmp1, tmp2; @@ -72,5 +73,4 @@ void *memmove(void *to, const void *from, size_t n) goto copy_chunks; goto lessthan8; } -libc_hidden_proto(memmove) libc_hidden_def(memmove) diff --git a/libc/string/powerpc/memset.c b/libc/string/powerpc/memset.c index 47df2b607..891e0b8aa 100644 --- a/libc/string/powerpc/memset.c +++ b/libc/string/powerpc/memset.c @@ -21,6 +21,8 @@ #include <string.h> +libc_hidden_proto(memset) + static inline int expand_byte_word(int c){ /* this does: c = c << 8 | c; @@ -78,5 +80,4 @@ void *memset(void *to, int c, size_t n) goto copy_chunks; goto lessthan8; } -libc_hidden_proto(memset) libc_hidden_def(memset) |