diff options
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 |
commit | 3f25366c3b89ac0573906b80f32e017091d007ea (patch) | |
tree | b6144b02f6fea01ca43d36ed9df68aecfd74c49e /libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c | |
parent | de94610a30e6e4d6fc0999104e7b278b57819fec (diff) | |
download | uClibc-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/x86_64/timer_delete.c')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c index 6e0d9d033..8456dc31a 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c @@ -17,7 +17,6 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <shlib-compat.h> #include "compat-timer.h" @@ -25,21 +24,4 @@ #include "../timer_delete.c" #undef timer_delete -versioned_symbol (librt, __timer_delete_new, timer_delete, GLIBC_2_3_3); - - -#if SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_3_3) -int -__timer_delete_old (int timerid) -{ - int res = __timer_delete_new (__compat_timer_list[timerid]); - - if (res == 0) - /* Successful timer deletion, now free the index. We only need to - store a word and that better be atomic. */ - __compat_timer_list[timerid] = NULL; - - return res; -} -compat_symbol (librt, __timer_delete_old, timer_delete, GLIBC_2_2); -#endif +weak_alias(__timer_delete_new, timer_delete) |