summaryrefslogtreecommitdiff
path: root/libc/string/generic/memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/memcmp.c')
-rw-r--r--libc/string/generic/memcmp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/string/generic/memcmp.c b/libc/string/generic/memcmp.c
index a3fcba036..13e11692a 100644
--- a/libc/string/generic/memcmp.c
+++ b/libc/string/generic/memcmp.c
@@ -20,8 +20,6 @@
#include <string.h>
-#undef memcmp
-
#include "memcopy.h"
#include <endian.h>
@@ -332,6 +330,6 @@ attribute_hidden __memcmp (const __ptr_t s1, const __ptr_t s2, size_t len)
return 0;
}
-strong_alias(__memcmp, memcmp)
+strong_alias(__memcmp,memcmp)
-weak_alias(memcmp, bcmp)
+strong_alias(__memcmp,bcmp)