diff options
-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; |