Add __libc_malloc_initialized declaration here. Mark variable hidden.
authordrepper <drepper>
Tue, 12 Mar 2002 21:58:14 +0000 (21:58 +0000)
committerdrepper <drepper>
Tue, 12 Mar 2002 21:58:14 +0000 (21:58 +0000)
include/malloc.h

index 448e0a8..eb2afb9 100644 (file)
@@ -1 +1,11 @@
+#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;
+
+#endif