libc: remove bcmp

This symbol is already provided by compiler_rt
This commit is contained in:
mercenary
2025-12-29 15:54:04 +01:00
parent 6984992153
commit 5e4aefd2a6
3 changed files with 0 additions and 10 deletions
-8
View File
@@ -1,8 +0,0 @@
#define _BSD_SOURCE
#include <string.h>
#include <strings.h>
int bcmp(const void *s1, const void *s2, size_t n)
{
return memcmp(s1, s2, n);
}
-1
View File
@@ -1751,7 +1751,6 @@ const src_files = [_][]const u8{
"musl/src/stdlib/strtol.c",
"musl/src/stdlib/wcstod.c",
"musl/src/stdlib/wcstol.c",
"musl/src/string/bcmp.c",
"musl/src/string/bcopy.c",
"musl/src/string/explicit_bzero.c",
"musl/src/string/index.c",
-1
View File
@@ -1031,7 +1031,6 @@ const libc_top_half_src_files = [_][]const u8{
"musl/src/stdlib/qsort.c",
"musl/src/stdlib/qsort_nr.c",
"musl/src/stdlib/strtol.c",
"musl/src/string/bcmp.c",
"musl/src/string/bcopy.c",
"musl/src/string/explicit_bzero.c",
"musl/src/string/index.c",