summary refs log tree commit diff
path: root/include/malloc.h
blob: d4cd9a5ffc929a962e272e912d73701ea76b6ff5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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;

extern __typeof (__malloc_check_init) __malloc_check_init attribute_hidden;

struct malloc_state;
typedef struct malloc_state *mstate;

# endif /* !_ISOMAC */
#endif