Fix prototype mismatch.
This commit is contained in:
parent
33f19bee6f
commit
552585665b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user