* commit '4b47d9f978296e5bb2eaabb8069960eb6f207c80': Fix declaration of malloc_usable_size()
This commit is contained in:
commit
8ed5aec934
@ -190,7 +190,7 @@ extern "C" struct mallinfo mallinfo() {
|
||||
return dlmallinfo();
|
||||
}
|
||||
|
||||
extern "C" size_t malloc_usable_size(void* mem) {
|
||||
extern "C" size_t malloc_usable_size(const void* mem) {
|
||||
return dlmalloc_usable_size(mem);
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ extern void* realloc(void* p, size_t byte_count) __wur;
|
||||
extern void free(void* p);
|
||||
|
||||
extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur;
|
||||
extern size_t malloc_usable_size(void* p);
|
||||
extern size_t malloc_usable_size(const void* p);
|
||||
|
||||
extern void* valloc(size_t byte_count) __mallocfunc __wur;
|
||||
extern void* pvalloc(size_t byte_count) __mallocfunc __wur;
|
||||
|
Loading…
Reference in New Issue
Block a user