From c86b3a98fe14863286692865efe6c8f2ae418678 Mon Sep 17 00:00:00 2001 From: Stefan Farfeleder Date: Tue, 18 Oct 2005 17:24:03 +0000 Subject: [PATCH] Make __sem_timedwait() consistent with the sem_timedwait() prototype. --- lib/libc/gen/sem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/gen/sem.c b/lib/libc/gen/sem.c index 37a7a8ec936b..439f0fe5c41c 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);