aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/malloc.h')
-rw-r--r--malloc/malloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/malloc/malloc.h b/malloc/malloc.h
index ad36ca7592..ddbc694491 100644
--- a/malloc/malloc.h
+++ b/malloc/malloc.h
@@ -73,6 +73,9 @@
extern "C" {
#endif
+/* Nonzero if the malloc is already initialized. */
+extern int __malloc_initialized;
+
/* Initialize global configuration. Not needed with GNU libc. */
#ifndef __GLIBC__
extern void ptmalloc_init __MALLOC_P ((void));