From 691738652b7c0ecdf82d215f7e746c0b53cc6b09 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 19 Apr 2000 02:40:21 +0000 Subject: Update. * gmon/gmon.c: Add weak alias moncontrol for __moncontrol. * gmon/Versions: Move moncontrol to GLIBC_2.2. --- gmon/Versions | 6 +++++- gmon/gmon.c | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gmon') diff --git a/gmon/Versions b/gmon/Versions index d546690..c39f1d1 100644 --- a/gmon/Versions +++ b/gmon/Versions @@ -7,9 +7,13 @@ libc { __monstartup; _mcleanup; __profile_frequency; # m* - moncontrol; monstartup; + monstartup; # p* profil; profil_counter; } + GLIBC_2.2 { + # m* + moncontrol; + } } diff --git a/gmon/gmon.c b/gmon/gmon.c index 51142cf..45fe6e8 100644 --- a/gmon/gmon.c +++ b/gmon/gmon.c @@ -90,6 +90,7 @@ __moncontrol (mode) p->state = GMON_PROF_OFF; } } +weak_alias (__moncontrol, moncontrol) void -- cgit v1.1