summaryrefslogtreecommitdiff
path: root/libc/string/bzero.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/bzero.c')
-rw-r--r--libc/string/bzero.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/string/bzero.c b/libc/string/bzero.c
index 0439e39a1..30bdf5674 100644
--- a/libc/string/bzero.c
+++ b/libc/string/bzero.c
@@ -7,10 +7,12 @@
#include "_string.h"
-void attribute_hidden __bzero(void *s, size_t n)
+libc_hidden_proto(memset)
+
+void bzero(void *s, size_t n)
{
#if 1
- (void)__memset(s, 0, n);
+ (void)memset(s, 0, n);
#else
register unsigned char *p = s;
#ifdef __BCC__
@@ -27,5 +29,3 @@ void attribute_hidden __bzero(void *s, size_t n)
#endif
}
#undef np
-
-strong_alias(__bzero,bzero)