blob: 42fc8ed6963141d5edc0567f32e9a221a44709aa [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#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. */
9extern int __malloc_initialized attribute_hidden;
10
11struct malloc_state;
12typedef struct malloc_state *mstate;
13
14#endif