From: Florian Weimer Date: Mon, 1 Aug 2022 13:49:07 +0000 (+0200) Subject: Remove spurious references to _dl_open_hook X-Git-Tag: glibc-2.37~463 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=032712621fd376def8ee4c1d997b414f29a30108;p=thirdparty%2Fglibc.git 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 --git a/libio/vtables.c b/libio/vtables.c index 499f0039cbe..50acab7f216 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 0a684a720d9..defd25c8a68 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