summary refs log tree commit diff
path: root/malloc/mtrace.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-31 19:13:04 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-31 19:13:04 +0000
commit66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f (patch)
tree5956e4edd32bea5f2cc2b721b7137765fab17d89 /malloc/mtrace.c
parent72f70279f4fa34d123ec234c7295059ce15fb8ac (diff)
downloadglibc-66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f.tar.gz
glibc-66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f.tar.xz
glibc-66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f.zip
Update.
	* include/libc-internal.h: Add prototype for __libc_freeres.

	* malloc/mtrace.c: Likewise.
	* malloc/set-freeres.c: Likewise.
Diffstat (limited to 'malloc/mtrace.c')
-rw-r--r--malloc/mtrace.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/malloc/mtrace.c b/malloc/mtrace.c
index 505389f3f8..0d170d62a0 100644
--- a/malloc/mtrace.c
+++ b/malloc/mtrace.c
@@ -36,6 +36,10 @@
 
 #include <stdio-common/_itoa.h>
 
+#ifdef _LIBC
+# include <libc-internal.h>
+#endif
+
 #ifdef USE_IN_LIBIO
 # include <libio/iolibio.h>
 # define setvbuf(s, b, f, l) _IO_setvbuf (s, b, f, l)
@@ -223,7 +227,6 @@ tr_reallochook (ptr, size, caller)
 
 
 #ifdef _LIBC
-extern void __libc_freeres (void);
 
 /* This function gets called to make sure all memory the library
    allocates get freed and so does not irritate the user when studying