diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gmon/gmon.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,6 +1,12 @@ 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> [BZ #18822] + * mon/gmon.c (__moncontrol): Add libc_hidden_proto and + libc_hidden_def. + +2017-10-01 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] * csu/version.c (__libc_print_version): Add attribute_hidden. 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> diff --git a/gmon/gmon.c b/gmon/gmon.c index 4e48eba..f1aa3b7 100644 --- a/gmon/gmon.c +++ b/gmon/gmon.c @@ -62,6 +62,7 @@ static int s_scale; void moncontrol (int mode); void __moncontrol (int mode); +libc_hidden_proto (__moncontrol) static void write_hist (int fd); static void write_call_graph (int fd); static void write_bb_counts (int fd); @@ -93,6 +94,7 @@ __moncontrol (int mode) p->state = GMON_PROF_OFF; } } +libc_hidden_def (__moncontrol) weak_alias (__moncontrol, moncontrol) |