summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sem_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sem_destroy.c')
-rw-r--r--libpthread/nptl/sem_destroy.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libpthread/nptl/sem_destroy.c b/libpthread/nptl/sem_destroy.c
index 1c823dc51..1fdb7b5b7 100644
--- a/libpthread/nptl/sem_destroy.c
+++ b/libpthread/nptl/sem_destroy.c
@@ -18,7 +18,6 @@
02111-1307 USA. */
#include <semaphore.h>
-#include <shlib-compat.h>
#include "semaphoreP.h"
@@ -31,8 +30,4 @@ __new_sem_destroy (sem)
/* Nothing to do. */
return 0;
}
-versioned_symbol (libpthread, __new_sem_destroy, sem_destroy, GLIBC_2_1);
-#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
-strong_alias (__new_sem_destroy, __old_sem_destroy)
-compat_symbol (libpthread, __old_sem_destroy, sem_destroy, GLIBC_2_0);
-#endif
+weak_alias(__new_sem_destroy, sem_destroy)