summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-18 16:21:38 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-18 16:21:38 +0100
commit930c63cd54c8db823af29ba6e5a015dc4d5021ca (patch)
treef7c5e27da3344de6158f3bcf5de188b80e7224a5
parentc36b1a043fa30474cd480915c643da71a7e22a94 (diff)
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.
-rw-r--r--pthread/pt-initialize.c3
1 files changed, 0 insertions, 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 <pthread.h>
#include <pthread-functions.h>
-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, ());
}