summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/pthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread')
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c6
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c6
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c6
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c6
4 files changed, 4 insertions, 20 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c
index 1eac8ecf8..f767dcf39 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c
+++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c
@@ -23,8 +23,6 @@
#include <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
-
-#include <shlib-compat.h>
#include <kernel-features.h>
@@ -75,6 +73,4 @@ __pthread_cond_broadcast (cond)
return 0;
}
-
-versioned_symbol (libpthread, __pthread_cond_broadcast, pthread_cond_broadcast,
- GLIBC_2_3_2);
+weak_alias(__pthread_cond_broadcast, pthread_cond_broadcast)
diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c
index f5623480f..b49131c86 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c
+++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c
@@ -23,8 +23,6 @@
#include <lowlevellock.h>
#include <pthread.h>
#include <pthreadP.h>
-
-#include <shlib-compat.h>
#include <kernel-features.h>
@@ -51,6 +49,4 @@ __pthread_cond_signal (cond)
return 0;
}
-
-versioned_symbol (libpthread, __pthread_cond_signal, pthread_cond_signal,
- GLIBC_2_3_2);
+weak_alias(__pthread_cond_signal, pthread_cond_signal)
diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c
index fdbf43eae..db9dc4dcd 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c
+++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c
@@ -24,8 +24,6 @@
#include <pthread.h>
#include <pthreadP.h>
-#include <shlib-compat.h>
-
/* Cleanup handler, defined in pthread_cond_wait.c. */
extern void __condvar_cleanup (void *arg)
@@ -209,6 +207,4 @@ __pthread_cond_timedwait (cond, mutex, abstime)
return err ?: result;
}
-
-versioned_symbol (libpthread, __pthread_cond_timedwait, pthread_cond_timedwait,
- GLIBC_2_3_2);
+weak_alias(__pthread_cond_timedwait, pthread_cond_timedwait)
diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c
index 86669458a..b0fe694ba 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c
+++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c
@@ -24,8 +24,6 @@
#include <pthread.h>
#include <pthreadP.h>
-#include <shlib-compat.h>
-
struct _condvar_cleanup_buffer
{
@@ -180,6 +178,4 @@ __pthread_cond_wait (cond, mutex)
/* Get the mutex before returning. */
return __pthread_mutex_cond_lock (mutex);
}
-
-versioned_symbol (libpthread, __pthread_cond_wait, pthread_cond_wait,
- GLIBC_2_3_2);
+weak_alias(__pthread_cond_wait, pthread_cond_wait)