From 930c63cd54c8db823af29ba6e5a015dc4d5021ca Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 18 Mar 2018 16:21:38 +0100 Subject: Remove unused __pthread_init hook Since nothing uses it we get link failures. * pthread/pt-initialize.c (__pthread_init): Remove hook. (___pthread_init): Do not call __pthread_init hook. --- pthread/pt-initialize.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/pthread/pt-initialize.c b/pthread/pt-initialize.c index b423f36..094c596 100644 --- a/pthread/pt-initialize.c +++ b/pthread/pt-initialize.c @@ -25,8 +25,6 @@ #include #include -DEFINE_HOOK (__pthread_init, (void)); - #if IS_IN (libpthread) static const struct pthread_functions pthread_functions = { @@ -83,5 +81,4 @@ ___pthread_init (void) #if IS_IN (libpthread) __libc_pthread_init(&pthread_functions); #endif - RUN_HOOK (__pthread_init, ()); } -- cgit v1.2.3