make malloc_usable size take a *mut instead of *const

This commit is contained in:
gnzlbg 2018-01-19 12:09:12 +01:00
parent 9908dcea17
commit 049b43e720

View File

@ -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;
}