summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-05 05:56:00 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-05 05:56:00 +0000
commit3f25366c3b89ac0573906b80f32e017091d007ea (patch)
treeb6144b02f6fea01ca43d36ed9df68aecfd74c49e /libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
parentde94610a30e6e4d6fc0999104e7b278b57819fec (diff)
downloaduClibc-alpine-3f25366c3b89ac0573906b80f32e017091d007ea.tar.bz2
uClibc-alpine-3f25366c3b89ac0573906b80f32e017091d007ea.tar.xz
Get rid of versioning and shared library compatibility code. We want to start with as clean of a slate as possible. Whip me, beat me, make me shrink the code.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c b/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
index f50036114..3cf1d9a8a 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sem_trywait.c
@@ -24,8 +24,6 @@
#include <internaltypes.h>
#include <semaphore.h>
-#include <shlib-compat.h>
-
int
__new_sem_trywait (sem_t *sem)
@@ -43,8 +41,4 @@ __new_sem_trywait (sem_t *sem)
__set_errno (EAGAIN);
return -1;
}
-versioned_symbol (libpthread, __new_sem_trywait, sem_trywait, GLIBC_2_1);
-#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_1)
-strong_alias (__new_sem_trywait, __old_sem_trywait)
-compat_symbol (libpthread, __old_sem_trywait, sem_trywait, GLIBC_2_0);
-#endif
+weak_alias(__new_sem_trywait, sem_trywait)