mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
206 B
9 lines
206 B
#include <malloc.h>
|
|
#include "malloc_impl.h"
|
|
|
|
hidden void *(*const __realloc_dep)(void *, size_t) = realloc;
|
|
|
|
size_t malloc_usable_size(void *p)
|
|
{
|
|
return p ? CHUNK_SIZE(MEM_TO_CHUNK(p)) - OVERHEAD : 0;
|
|
}
|
|
|