2002-03-13 02:17:12 +00:00
|
|
|
#ifndef _MALLOC_H
|
1997-01-26 05:33:35 +00:00
|
|
|
#include <malloc/malloc.h>
|
2002-03-13 02:17:12 +00:00
|
|
|
|
2016-08-23 21:19:17 -04:00
|
|
|
# ifndef _ISOMAC
|
2002-03-13 02:17:12 +00:00
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
|
|
2017-10-01 16:00:05 -07:00
|
|
|
extern __typeof (__malloc_check_init) __malloc_check_init attribute_hidden;
|
|
|
|
|
|
2003-01-13 03:42:27 +00:00
|
|
|
struct malloc_state;
|
|
|
|
|
typedef struct malloc_state *mstate;
|
|
|
|
|
|
2016-08-23 21:19:17 -04:00
|
|
|
# endif /* !_ISOMAC */
|
2002-03-13 02:17:12 +00:00
|
|
|
#endif
|