mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
78ac92ad8d
Change all callers. (_int_realloc): Likewise. All _int_* functions are now static. * malloc/hooks.c: Change all callers to _int_free and _int_realloc. * malloc/arena.c: Likewise. * include/malloc.h: Remove now unnecessary declarations of the _int_* functions.
15 lines
383 B
C
15 lines
383 B
C
#ifndef _MALLOC_H
|
|
#include <malloc/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
|