Skip to content

Commit

Permalink
Revert "Merge pull request ziglang#15867 from devnexen/haiku_malloc_u…
Browse files Browse the repository at this point in the history
…sable_size"

This reverts commit 3ef9123, reversing
changes made to 2839e35.
  • Loading branch information
andrewrk authored and LinuxUserGD committed Aug 2, 2023
1 parent e294aee commit 9245caf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/std/c/dragonfly.zig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ pub extern "c" fn dl_iterate_phdr(callback: dl_iterate_phdr_callback, data: ?*an
pub extern "c" fn lwp_gettid() c_int;

pub extern "c" fn posix_memalign(memptr: *?*anyopaque, alignment: usize, size: usize) c_int;
pub extern "c" fn malloc_usable_size(?*const anyopaque) usize;

pub const pthread_mutex_t = extern struct {
inner: ?*anyopaque = null,
Expand Down
2 changes: 0 additions & 2 deletions lib/std/c/haiku.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1071,5 +1071,3 @@ pub const sigevent = extern struct {

/// TODO refines if necessary
pub const PTHREAD_STACK_MIN = 2 * 4096;

pub extern "c" fn malloc_usable_size(?*anyopaque) usize;

0 comments on commit 9245caf

Please sign in to comment.