From 3f25366c3b89ac0573906b80f32e017091d007ea Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Sun, 5 Feb 2006 05:56:00 +0000 Subject: 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. --- libpthread/nptl/sysdeps/unix/sysv/linux/sem_wait.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sem_wait.c') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sem_wait.c b/libpthread/nptl/sysdeps/unix/sysv/linux/sem_wait.c index e6733e88a..416d8634b 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sem_wait.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sem_wait.c @@ -23,9 +23,7 @@ #include #include #include - #include -#include int @@ -55,9 +53,4 @@ __new_sem_wait (sem_t *sem) __set_errno (-err); return -1; } - -versioned_symbol (libpthread, __new_sem_wait, sem_wait, GLIBC_2_1); -#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_1) -strong_alias (__new_sem_wait, __old_sem_wait) -compat_symbol (libpthread, __old_sem_wait, sem_wait, GLIBC_2_0); -#endif +weak_alias(__new_sem_wait, sem_wait) -- cgit v1.2.3