aboutsummaryrefslogtreecommitdiff
path: root/gmon
diff options
context:
space:
mode:
Diffstat (limited to 'gmon')
-rw-r--r--gmon/bb_exit_func.c5
-rw-r--r--gmon/gmon.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gmon/bb_exit_func.c b/gmon/bb_exit_func.c
index ce61c75..f0d1d85 100644
--- a/gmon/bb_exit_func.c
+++ b/gmon/bb_exit_func.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,2000,2001,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Mosberger (davidm@cs.arizona.edu).
@@ -31,6 +31,9 @@
#define OUT_NAME "gmon.out"
+extern struct __bb *__bb_head attribute_hidden;
+
+
void
__bb_exit_func (void)
{
diff --git a/gmon/gmon.c b/gmon/gmon.c
index 3380932..f0188a9 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -47,7 +47,8 @@
# include <wchar.h>
#endif
-struct __bb *__bb_head; /* Head of basic-block list or NULL. */
+/* Head of basic-block list or NULL. */
+struct __bb *__bb_head attribute_hidden;
struct gmonparam _gmonparam attribute_hidden = { GMON_PROF_OFF };