summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.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/x86_64/timer_gettime.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/x86_64/timer_gettime.c')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c
index 1f1253af2..6b260e453 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.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,14 +24,4 @@
#include "../timer_gettime.c"
#undef timer_gettime
-versioned_symbol (librt, __timer_gettime_new, timer_gettime, GLIBC_2_3_3);
-
-
-#if SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_3_3)
-int
-__timer_gettime_old (int timerid, struct itimerspec *value)
-{
- return __timer_gettime_new (__compat_timer_list[timerid], value);
-}
-compat_symbol (librt, __timer_gettime_old, timer_gettime, GLIBC_2_2);
-#endif
+weak_alias(__timer_gettime_new, timer_gettime)