mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
libc: remove bcmp
This symbol is already provided by compiler_rt
This commit is contained in:
Vendored
-8
@@ -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);
|
||||
}
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user