about summary refs log tree commit diff
path: root/gmon
diff options
context:
space:
mode:
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.