diff options
Diffstat (limited to 'libpthread/nptl/sem_destroy.c')
-rw-r--r-- | libpthread/nptl/sem_destroy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpthread/nptl/sem_destroy.c b/libpthread/nptl/sem_destroy.c index 1472a945c..1c823dc51 100644 --- a/libpthread/nptl/sem_destroy.c +++ b/libpthread/nptl/sem_destroy.c @@ -18,6 +18,7 @@ 02111-1307 USA. */ #include <semaphore.h> +#include <shlib-compat.h> #include "semaphoreP.h" @@ -31,3 +32,7 @@ __new_sem_destroy (sem) 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 |