]> git.ipfire.org Git - thirdparty/glibc.git/blob - include/malloc.h
Further harden glibc malloc metadata against 1-byte overflows.
[thirdparty/glibc.git] / include / malloc.h
1 #ifndef _MALLOC_H
2 #include <malloc/malloc.h>
3
4 # ifndef _ISOMAC
5
6 /* In the GNU libc we rename the global variable
7 `__malloc_initialized' to `__libc_malloc_initialized'. */
8 #define __malloc_initialized __libc_malloc_initialized
9 /* Nonzero if the malloc is already initialized. */
10 extern int __malloc_initialized attribute_hidden;
11
12 struct malloc_state;
13 typedef struct malloc_state *mstate;
14
15 # endif /* !_ISOMAC */
16 #endif