aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/bzero.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string/bzero.c b/string/bzero.c
index eb2af49..d8b79df 100644
--- a/string/bzero.c
+++ b/string/bzero.c
@@ -17,12 +17,12 @@
#include <string.h>
-#undef __bzero
-
/* Set N bytes of S to 0. */
void
__bzero (void *s, size_t len)
{
memset (s, '\0', len);
}
+#ifndef __bzero
weak_alias (__bzero, bzero)
+#endif