mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
0ae773bba0
This is only used internally in malloc.c, the extern declaration was wrong, __mtag_mmap_flags has internal linkage. Reviewed-by: DJ Delorie <dj@redhat.com>
20 lines
452 B
C
20 lines
452 B
C
#ifndef _MALLOC_H
|
|
|
|
#include <malloc/malloc.h>
|
|
|
|
# ifndef _ISOMAC
|
|
# include <rtld-malloc.h>
|
|
|
|
/* 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
|