diff options
author | nate <nate@FreeBSD.org> | 1996-09-20 06:33:54 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-09-20 06:33:54 +0000 |
commit | c19924b40999e4c8f0a8c7772bb76abf312ba197 (patch) | |
tree | 935487cdfab28e511c09b2f7b1f8bc5a2ca8c5ff /lib/libkse/thread/thr_cond.c | |
parent | 934efd0502462dcd9fa380eaee3b55c8c91a0cdc (diff) | |
download | FreeBSD-src-c19924b40999e4c8f0a8c7772bb76abf312ba197.zip FreeBSD-src-c19924b40999e4c8f0a8c7772bb76abf312ba197.tar.gz |
Remove now un-necessary FreeBSD specific code since our timespec
structure now has the correct member names.
Pointed out by: Peter Wemm
Diffstat (limited to 'lib/libkse/thread/thr_cond.c')
-rw-r--r-- | lib/libkse/thread/thr_cond.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libkse/thread/thr_cond.c b/lib/libkse/thread/thr_cond.c index 0f9f302..4395380 100644 --- a/lib/libkse/thread/thr_cond.c +++ b/lib/libkse/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; |