Make __sem_timedwait() consistent with the sem_timedwait() prototype.
This commit is contained in:
parent
8fc5a80ac3
commit
c86b3a98fe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151449
@ -322,7 +322,7 @@ __sem_trywait(sem_t *sem)
|
||||
|
||||
int
|
||||
__sem_timedwait(sem_t * __restrict sem,
|
||||
struct timespec * __restrict abs_timeout)
|
||||
const struct timespec * __restrict abs_timeout)
|
||||
{
|
||||
if (sem_check_validity(sem) != 0)
|
||||
return (-1);
|
||||
|
Loading…
Reference in New Issue
Block a user