lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | #ifndef _MALLOC_H |
2 | #include <malloc/malloc.h> | ||||
3 | |||||
4 | |||||
5 | /* In the GNU libc we rename the global variable | ||||
6 | `__malloc_initialized' to `__libc_malloc_initialized'. */ | ||||
7 | #define __malloc_initialized __libc_malloc_initialized | ||||
8 | /* Nonzero if the malloc is already initialized. */ | ||||
9 | extern int __malloc_initialized attribute_hidden; | ||||
10 | |||||
11 | struct malloc_state; | ||||
12 | typedef struct malloc_state *mstate; | ||||
13 | |||||
14 | #endif |