summaryrefslogtreecommitdiff
path: root/libc/string/powerpc/string.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-18 11:38:02 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-18 11:38:02 +0000
commit42a08c74b9d199c0fa555947b64571e243b34cc5 (patch)
tree51d653b99aa2f38baecbd5b683d71fc7128dc751 /libc/string/powerpc/string.c
parentada7878ba0d097b798277aaa095e9d935a64fa99 (diff)
Supply '__bzero' with 'bzero' as just a weak alias (since it is not SuSv3)
Diffstat (limited to 'libc/string/powerpc/string.c')
-rw-r--r--libc/string/powerpc/string.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/powerpc/string.c b/libc/string/powerpc/string.c
index 32485670d..1835e6aa7 100644
--- a/libc/string/powerpc/string.c
+++ b/libc/string/powerpc/string.c
@@ -194,7 +194,8 @@ void *memset(void *to, int c, size_t n)
#endif
#ifdef L_bzero
-void bzero(void *s, size_t n)
+weak_alias(__bzero,bzero);
+void __bzero(void *s, size_t n)
{
(void)memset(s, 0, n);
}