authorgravatar for mercenary@noreply.codeberg.orgmercenary <mercenary@noreply.codeberg.org> 2025-12-29 15:54:04+01:00
committergravatar for mercenary@noreply.codeberg.orgmercenary <mercenary@noreply.codeberg.org> 2025-12-29 15:54:04+01:00
log5e4aefd2a6dc3bd1db9bf9235b30217c52b0ff80
treea3e22b8309c95bc238b6c99d910baf1b5100a1fb
parent6984992153f0656b04c39279f9684fd5a06e952d

libc: remove `bcmp`

This symbol is already provided by compiler_rt

3 files changed, 0 insertions(+), 10 deletions(-)

lib/libc/musl/src/string/bcmp.c deleted-8
...@@ -1,8 +0,0 @@
1#define _BSD_SOURCE
2#include <string.h>
3#include <strings.h>
4
5int bcmp(const void *s1, const void *s2, size_t n)
6{
7 return memcmp(s1, s2, n);
8}
src/libs/musl.zig-1
...@@ -1751,7 +1751,6 @@ const src_files = [_][]const u8{...@@ -1751,7 +1751,6 @@ const src_files = [_][]const u8{
1751 "musl/src/stdlib/strtol.c",1751 "musl/src/stdlib/strtol.c",
1752 "musl/src/stdlib/wcstod.c",1752 "musl/src/stdlib/wcstod.c",
1753 "musl/src/stdlib/wcstol.c",1753 "musl/src/stdlib/wcstol.c",
1754 "musl/src/string/bcmp.c",
1755 "musl/src/string/bcopy.c",1754 "musl/src/string/bcopy.c",
1756 "musl/src/string/explicit_bzero.c",1755 "musl/src/string/explicit_bzero.c",
1757 "musl/src/string/index.c",1756 "musl/src/string/index.c",
src/libs/wasi_libc.zig-1
...@@ -1031,7 +1031,6 @@ const libc_top_half_src_files = [_][]const u8{...@@ -1031,7 +1031,6 @@ const libc_top_half_src_files = [_][]const u8{
1031 "musl/src/stdlib/qsort.c",1031 "musl/src/stdlib/qsort.c",
1032 "musl/src/stdlib/qsort_nr.c",1032 "musl/src/stdlib/qsort_nr.c",
1033 "musl/src/stdlib/strtol.c",1033 "musl/src/stdlib/strtol.c",
1034 "musl/src/string/bcmp.c",
1035 "musl/src/string/bcopy.c",1034 "musl/src/string/bcopy.c",
1036 "musl/src/string/explicit_bzero.c",1035 "musl/src/string/explicit_bzero.c",
1037 "musl/src/string/index.c",1036 "musl/src/string/index.c",