authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 11:21:50-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 11:21:50-07:00
loga2439e161b45abb6d38ab75f3deadbf043694291
tree72e3cd787b67317d7e284404367e4af07a1eecda
parentc7f2a7ea82f56c844084d75c9335360ee1e98723

Revert "std: enriching malloc api on freebsd."

This reverts commit 9140249d2993d9d9f4c92b2892db421e1e0fb7ae.

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

lib/std/c/freebsd.zig-3
......@@ -29,8 +29,6 @@ pub const CPU_WHICH_TIDPID: cpuwhich_t = 8;
2929extern "c" fn __error() *c_int;
3030pub const _errno = __error;
3131
32pub extern "c" var malloc_options: [*:0]const u8;
33
3432pub extern "c" fn getdents(fd: c_int, buf_ptr: [*]u8, nbytes: usize) isize;
3533pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int;
3634pub extern "c" fn getrandom(buf_ptr: [*]u8, buf_len: usize, flags: c_uint) isize;
......@@ -44,7 +42,6 @@ pub extern "c" fn arc4random_buf(buf: [*]u8, len: usize) void;
4442
4543pub extern "c" fn posix_memalign(memptr: *?*anyopaque, alignment: usize, size: usize) c_int;
4644pub extern "c" fn malloc_usable_size(?*const anyopaque) usize;
47pub extern "c" fn reallocf(?*anyopaque, usize) ?*anyopaque;
4845
4946pub extern "c" fn getpid() pid_t;
5047