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. --- .../nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c index 4c945ec51..0ec178246 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c @@ -17,7 +17,6 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include #include "compat-timer.h" @@ -25,16 +24,4 @@ #include "../timer_settime.c" #undef timer_settime -versioned_symbol (librt, __timer_settime_new, timer_settime, GLIBC_2_3_3); - - -#if SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_3_3) -int -__timer_settime_old (int timerid, int flags, const struct itimerspec *value, - struct itimerspec *ovalue) -{ - return __timer_settime_new (__compat_timer_list[timerid], flags, - value, ovalue); -} -compat_symbol (librt, __timer_settime_old, timer_settime, GLIBC_2_2); -#endif +weak_alias(__timer_settime_new, timer_settime) -- cgit v1.2.3