diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-06-03 02:51:14 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-06-03 02:51:14 +0000 |
commit | 5b9e501c32829682998ec9b5bfdd9417b99d1ad3 (patch) | |
tree | 1d1671382a93930180b7ec2a9104bba4baf9a71b /libpthread/nptl/sem_destroy.c | |
parent | 855c7fda61d9313052a0afdfe851a4b390da845c (diff) | |
download | uClibc-alpine-5b9e501c32829682998ec9b5bfdd9417b99d1ad3.tar.bz2 uClibc-alpine-5b9e501c32829682998ec9b5bfdd9417b99d1ad3.tar.xz |
Sync up with latest NPTL code from glibc and add minor
#ifdef __UCLIBC__ directives.
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 |