Remove spurious references to _dl_open_hook
authorFlorian Weimer <fweimer@redhat.com>
Mon, 1 Aug 2022 13:49:07 +0000 (15:49 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 1 Aug 2022 13:50:05 +0000 (15:50 +0200)
_dl_open_hook was removed in commit 466c1ea15f461edb8e3ffaf5d86d708
("dlfcn: Rework static dlopen hooks").

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
libio/vtables.c
malloc/arena.c

index 499f003..50acab7 100644 (file)
 
 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.  */
index 0a684a7..defd25c 100644 (file)
@@ -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