diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2006-03-28 21:46:55 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2006-03-28 21:46:55 +0000 |
commit | 552585665b8ff1c97817dbee85443d427e860ac7 (patch) | |
tree | 2705d2026c10b95006a8ac4c62e52030bff07d3f /lib | |
parent | 33f19bee6fe93bbebb203968a7e7c4277218c8e1 (diff) | |
download | src-552585665b8ff1c97817dbee85443d427e860ac7.tar.gz src-552585665b8ff1c97817dbee85443d427e860ac7.zip |
Fix prototype mismatch.
Notes
Notes:
svn path=/head/; revision=157234
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libthr/thread/thr_sem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_sem.c b/lib/libthr/thread/thr_sem.c index aa34b6f432c8..88a3cbd500ea 100644 --- a/lib/libthr/thread/thr_sem.c +++ b/lib/libthr/thread/thr_sem.c @@ -204,7 +204,8 @@ _sem_wait(sem_t *sem) } int -_sem_timedwait(sem_t * __restrict sem, struct timespec * __restrict abstime) +_sem_timedwait(sem_t * __restrict sem, + const struct timespec * __restrict abstime) { struct timespec ts, ts2; struct pthread *curthread; |