make malloc_usable size take a *mut instead of *const
This commit is contained in:
parent
9908dcea17
commit
049b43e720
@ -611,7 +611,7 @@ extern {
|
||||
val: ::c_int) -> ::c_int;
|
||||
pub fn sched_getcpu() -> ::c_int;
|
||||
pub fn mallinfo() -> ::mallinfo;
|
||||
pub fn malloc_usable_size(ptr: *const ::c_void) -> ::size_t;
|
||||
pub fn malloc_usable_size(ptr: *mut ::c_void) -> ::size_t;
|
||||
pub fn memfd_create(name: *const c_char, flags: ::c_uint) -> ::c_int;
|
||||
pub fn getauxval(type_: ::c_ulong) -> ::c_ulong;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user