summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-16 03:36:39 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-16 03:36:39 +0000
commitb823b17fa7dc5a15d822a4f31fe8ee846a65cfae (patch)
treecbf84b1c8fc0682e74165cc48b9baf0d7b382533 /libpthread/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c
parent708121712921e39f6d81179c376e53d26ee817b4 (diff)
downloaduClibc-alpine-b823b17fa7dc5a15d822a4f31fe8ee846a65cfae.tar.bz2
uClibc-alpine-b823b17fa7dc5a15d822a4f31fe8ee846a65cfae.tar.xz
Sync with glibc reference tree and changes for uClibc thus far.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c b/libpthread/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c
index d4ed1caba..5c8b0db7e 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sem_timedwait.c
@@ -56,11 +56,7 @@ sem_timedwait (sem_t *sem, const struct timespec *abstime)
int sec, nsec;
/* Get the current time. */
-#ifdef __UCLIBC__
gettimeofday (&tv, NULL);
-#else
- __gettimeofday (&tv, NULL);
-#endif
/* Compute relative timeout. */
sec = abstime->tv_sec - tv.tv_sec;