only provide malloc_info stub for glibc
This has a proper implementation in Bionic outside of the malloc implementation via the extended mallinfo API.pull/87/head
parent
350d0e5fd2
commit
0f107cd2a3
|
@ -1628,10 +1628,12 @@ EXPORT struct mallinfo h_mallinfo(void) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef __GLIBC__
|
||||
EXPORT int h_malloc_info(UNUSED int options, UNUSED FILE *fp) {
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
COLD EXPORT void *h_malloc_get_state(void) {
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue