diff options
author | des <des@FreeBSD.org> | 2006-03-28 21:46:55 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2006-03-28 21:46:55 +0000 |
commit | 5438ed2ce6ec9f6e7d2fa2dcf91920c9baf2c256 (patch) | |
tree | 2705d2026c10b95006a8ac4c62e52030bff07d3f /lib | |
parent | 44f0d9f5195c6fba57e25137546f98690ea5f1d2 (diff) | |
download | FreeBSD-src-5438ed2ce6ec9f6e7d2fa2dcf91920c9baf2c256.zip FreeBSD-src-5438ed2ce6ec9f6e7d2fa2dcf91920c9baf2c256.tar.gz |
Fix prototype mismatch.
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 aa34b6f..88a3cbd 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; |