diff options
Diffstat (limited to 'libc/string/powerpc/memset.c')
-rw-r--r-- | libc/string/powerpc/memset.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/string/powerpc/memset.c b/libc/string/powerpc/memset.c index f6cda9579..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; @@ -32,7 +34,7 @@ static inline int expand_byte_word(int c){ return c; } -void attribute_hidden *__memset(void *to, int c, size_t n) +void *memset(void *to, int c, size_t n) { unsigned long rem, chunks; unsigned char *tmp_to; @@ -78,5 +80,4 @@ void attribute_hidden *__memset(void *to, int c, size_t n) goto copy_chunks; goto lessthan8; } - -strong_alias(__memset,memset) +libc_hidden_def(memset) |