From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id 1BC943858D39; Mon, 1 Aug 2022 13:50:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1BC943858D39 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc] Remove spurious references to _dl_open_hook X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/master X-Git-Oldrev: e03f5ccd6cc8f829416156eac75acee501626c1f X-Git-Newrev: 032712621fd376def8ee4c1d997b414f29a30108 Message-Id: <20220801135047.1BC943858D39@sourceware.org> Date: Mon, 1 Aug 2022 13:50:47 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2022 13:50:47 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=032712621fd376def8ee4c1d997b414f29a30108 commit 032712621fd376def8ee4c1d997b414f29a30108 Author: Florian Weimer Date: Mon Aug 1 15:49:07 2022 +0200 Remove spurious references to _dl_open_hook _dl_open_hook was removed in commit 466c1ea15f461edb8e3ffaf5d86d708 ("dlfcn: Rework static dlopen hooks"). Reviewed-by: Adhemerval Zanella Diff: --- libio/vtables.c | 4 ---- malloc/arena.c | 5 ----- 2 files changed, 9 deletions(-) diff --git a/libio/vtables.c b/libio/vtables.c index 499f0039cb..50acab7f21 100644 --- a/libio/vtables.c +++ b/libio/vtables.c @@ -25,10 +25,6 @@ void (*IO_accept_foreign_vtables) (void) attribute_hidden; -/* Used to detected multiple libcs. */ -extern struct dl_open_hook *_dl_open_hook; -libc_hidden_proto (_dl_open_hook); - #else /* !SHARED */ /* Used to check whether static dlopen support is needed. */ diff --git a/malloc/arena.c b/malloc/arena.c index 0a684a720d..defd25c8a6 100644 --- a/malloc/arena.c +++ b/malloc/arena.c @@ -300,11 +300,6 @@ next_env_entry (char ***position) #endif -#ifdef SHARED -extern struct dl_open_hook *_dl_open_hook; -libc_hidden_proto (_dl_open_hook); -#endif - #if USE_TCACHE static void tcache_key_initialize (void); #endif