diff options
Diffstat (limited to 'REORG.TODO/include/malloc.h')
-rw-r--r-- | REORG.TODO/include/malloc.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/REORG.TODO/include/malloc.h b/REORG.TODO/include/malloc.h new file mode 100644 index 0000000000..70d32c7c84 --- /dev/null +++ b/REORG.TODO/include/malloc.h @@ -0,0 +1,16 @@ +#ifndef _MALLOC_H +#include <malloc/malloc.h> + +# ifndef _ISOMAC + +/* In the GNU libc we rename the global variable + `__malloc_initialized' to `__libc_malloc_initialized'. */ +#define __malloc_initialized __libc_malloc_initialized +/* Nonzero if the malloc is already initialized. */ +extern int __malloc_initialized attribute_hidden; + +struct malloc_state; +typedef struct malloc_state *mstate; + +# endif /* !_ISOMAC */ +#endif |