From 6f7dc709ed7e403af224b0fbb91e9619629eb2ec Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 14 Jan 2006 19:45:02 +0000 Subject: make DODEBUG=y happy, update sysdeps/common/* copyright --- libc/string/powerpc/memcpy.c | 2 +- libc/string/powerpc/memmove.c | 2 +- libc/string/powerpc/memset.c | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'libc/string/powerpc') 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 +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 +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 +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) -- cgit v1.2.3