summaryrefslogtreecommitdiff
path: root/gmon
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-11 10:28:31 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-11 10:28:31 +0000
commit0e47dbd052f7bbc28e9854d4cb1fdd4f5f53d8d0 (patch)
treea2816bc8fb9d93f612ed1a30432075d90c4f36d4 /gmon
parent0e0435989d3cb3434780037b73fff389801fcb21 (diff)
downloadglibc-0e47dbd052f7bbc28e9854d4cb1fdd4f5f53d8d0.tar.gz
Update.
2002-03-11 Ulrich Drepper <drepper@redhat.com> * gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func. They were never exported anyway. * gmon/gmon.c (_gmonparam): Add attribute_hidden. * gmon/sys/gmon.h: Remove declaration of _gmonparam. It wasn't exported. * include/sys/gmon.h: Declare _gmonparam. * sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility symbols for getdents64. They were never exported.
Diffstat (limited to 'gmon')
-rw-r--r--gmon/gmon.c2
-rw-r--r--gmon/sys/gmon.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/gmon/gmon.c b/gmon/gmon.c
index b54b9aa18b..3380932e7c 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -49,7 +49,7 @@
struct __bb *__bb_head; /* Head of basic-block list or NULL. */
-struct gmonparam _gmonparam = { GMON_PROF_OFF };
+struct gmonparam _gmonparam attribute_hidden = { GMON_PROF_OFF };
/*
* See profil(2) where this is described:
diff --git a/gmon/sys/gmon.h b/gmon/sys/gmon.h
index bb17b75681..c9064d7b4a 100644
--- a/gmon/sys/gmon.h
+++ b/gmon/sys/gmon.h
@@ -143,7 +143,6 @@ struct gmonparam {
u_long hashfraction;
long log_hashfraction;
};
-extern struct gmonparam _gmonparam;
/*
* Possible states of profiling.