about summary refs log tree commit diff
path: root/malloc/malloc.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-09 05:45:42 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-09 05:45:42 +0000
commitbb066545063246d6df186f5a5a61303c58c6547d (patch)
treef7b3928818760073ce5c6cf8bde9623cbc5a426c /malloc/malloc.h
parent0f9c8b4841b0b2295fc20bc692526882f64056b0 (diff)
downloadglibc-bb066545063246d6df186f5a5a61303c58c6547d.tar.gz
glibc-bb066545063246d6df186f5a5a61303c58c6547d.tar.xz
glibc-bb066545063246d6df186f5a5a61303c58c6547d.zip
* malloc/malloc.c (malloc_info): New function. cvs/fedora-glibc-20090409T1422
	* malloc/malloc.h: Declare it.
	* malloc/Versions: Export malloc_info for GLIBC_2.10.

	* resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp
Diffstat (limited to 'malloc/malloc.h')
-rw-r--r--malloc/malloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/malloc/malloc.h b/malloc/malloc.h
index 2c0ee35c4e..d0aedc0cdf 100644
--- a/malloc/malloc.h
+++ b/malloc/malloc.h
@@ -23,6 +23,7 @@
 
 #include <features.h>
 #include <stddef.h>
+#include <stdio.h>
 # define __malloc_ptr_t  void *
 
 /* Used by GNU libc internals. */
@@ -144,6 +145,9 @@ extern size_t malloc_usable_size __MALLOC_P ((void *__ptr));
 /* Prints brief summary statistics on stderr. */
 extern void malloc_stats __MALLOC_P ((void));
 
+/* Output information about state of allocator to stream FP.  */
+extern int malloc_info (int __options, FILE *__fp);
+
 /* Record the state of all malloc variables in an opaque data structure. */
 extern void *malloc_get_state __MALLOC_P ((void));