summaryrefslogtreecommitdiff
path: root/debug
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 /debug
parent72f70279f4fa34d123ec234c7295059ce15fb8ac (diff)
Update.
* include/libc-internal.h: Add prototype for __libc_freeres. * malloc/mtrace.c: Likewise. * malloc/set-freeres.c: Likewise.
Diffstat (limited to 'debug')
-rw-r--r--debug/noophooks.c4
-rw-r--r--debug/pcprofile.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/debug/noophooks.c b/debug/noophooks.c
index 5c1ae01960..7f2517801d 100644
--- a/debug/noophooks.c
+++ b/debug/noophooks.c
@@ -1,5 +1,5 @@
/* Noop hooks for the instrumenting functions.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
@@ -18,6 +18,8 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <libc-internal.h>
+
void
__cyg_profile_func_enter (void *this_fn, void *call_site)
{
diff --git a/debug/pcprofile.c b/debug/pcprofile.c
index 11447deb7d..eb95856c2d 100644
--- a/debug/pcprofile.c
+++ b/debug/pcprofile.c
@@ -1,5 +1,5 @@
/* Profile PC and write result to FIFO.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
@@ -23,6 +23,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
+#include <libc-internal.h>
/* Nonzero if we are actually doing something. */
static int active;