summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/sem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/sem.c b/lib/libc/gen/sem.c
index 37a7a8e..439f0fe 100644
--- a/lib/libc/gen/sem.c
+++ b/lib/libc/gen/sem.c
@@ -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);
OpenPOWER on IntegriCloud