summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-10-18 17:24:03 +0000
committerstefanf <stefanf@FreeBSD.org>2005-10-18 17:24:03 +0000
commitca175bacb2d44223ef5279602b9b808464fcf6f4 (patch)
tree03c89030aced0932533fa051b3eca4d6de8f73c1 /lib
parent7e8cf159644b673cb243f9cb2de6bbfc1958eeab (diff)
downloadFreeBSD-src-ca175bacb2d44223ef5279602b9b808464fcf6f4.zip
FreeBSD-src-ca175bacb2d44223ef5279602b9b808464fcf6f4.tar.gz
Make __sem_timedwait() consistent with the sem_timedwait() prototype.
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