summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/sem.c
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-10-04 21:32:00 +0000
committermike <mike@FreeBSD.org>2002-10-04 21:32:00 +0000
commitcf479e35164c9b972e937e94c67035dbaf674b9c (patch)
treed82fb6bf3b9463173544ca9a029720cd80857b8f /lib/libc/sys/sem.c
parent308c69ee6a0c88f6783afba7505bc043dbc4e918 (diff)
downloadFreeBSD-src-cf479e35164c9b972e937e94c67035dbaf674b9c.zip
FreeBSD-src-cf479e35164c9b972e937e94c67035dbaf674b9c.tar.gz
Add restrict type-qualifier to sem_getvalue().
Diffstat (limited to 'lib/libc/sys/sem.c')
-rw-r--r--lib/libc/sys/sem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/sem.c b/lib/libc/sys/sem.c
index 2547eb2..fbed62a 100644
--- a/lib/libc/sys/sem.c
+++ b/lib/libc/sys/sem.c
@@ -333,7 +333,7 @@ sem_post(sem_t *sem)
}
int
-sem_getvalue(sem_t *sem, int *sval)
+sem_getvalue(sem_t * __restrict sem, int * __restrict sval)
{
int retval;
OpenPOWER on IntegriCloud