summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_cond.c
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1996-09-20 06:33:54 +0000
committerNate Williams <nate@FreeBSD.org>1996-09-20 06:33:54 +0000
commitae0baddec3484468bf6c01e4483c1369ff16df48 (patch)
tree935487cdfab28e511c09b2f7b1f8bc5a2ca8c5ff /lib/libpthread/thread/thr_cond.c
parent34eeb764115bb3425c92637c311c9eb779f660f8 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_cond.c')
-rw-r--r--lib/libpthread/thread/thr_cond.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libpthread/thread/thr_cond.c b/lib/libpthread/thread/thr_cond.c
index 0f9f30230ba0..439538044610 100644
--- a/lib/libpthread/thread/thr_cond.c
+++ b/lib/libpthread/thread/thr_cond.c
@@ -200,13 +200,8 @@ pthread_cond_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex,
/* Fast condition variable: */
case COND_TYPE_FAST:
/* Set the wakeup time: */
-#if defined(__FreeBSD__)
- _thread_run->wakeup_time.ts_sec = abstime->ts_sec;
- _thread_run->wakeup_time.ts_nsec = abstime->ts_nsec;
-#else
_thread_run->wakeup_time.tv_sec = abstime->tv_sec;
_thread_run->wakeup_time.tv_nsec = abstime->tv_nsec;
-#endif
/* Reset the timeout flag: */
_thread_run->timeout = 0;