summaryrefslogtreecommitdiffstats
path: root/sys/sys/_semaphore.h
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-10-18 11:46:24 +0000
committerstefanf <stefanf@FreeBSD.org>2005-10-18 11:46:24 +0000
commite5209c56658d0173665f46b39f32b14980fd5bf6 (patch)
tree6ccc543beaffb3ef51cb3952ddc2d241260234c8 /sys/sys/_semaphore.h
parent153abf782e100cbbde6302049d288abd03521845 (diff)
downloadFreeBSD-src-e5209c56658d0173665f46b39f32b14980fd5bf6.zip
FreeBSD-src-e5209c56658d0173665f46b39f32b14980fd5bf6.tar.gz
Const-qualify ksem_timedwait's parameter abstime as it's only passed in.
Diffstat (limited to 'sys/sys/_semaphore.h')
-rw-r--r--sys/sys/_semaphore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/_semaphore.h b/sys/sys/_semaphore.h
index a7bd5d8..df3c5da 100644
--- a/sys/sys/_semaphore.h
+++ b/sys/sys/_semaphore.h
@@ -58,7 +58,7 @@ int ksem_close(semid_t id);
int ksem_post(semid_t id);
int ksem_wait(semid_t id);
int ksem_trywait(semid_t id);
-int ksem_timedwait(semid_t id, struct timespec *abstime);
+int ksem_timedwait(semid_t id, const struct timespec *abstime);
int ksem_init(semid_t *idp, unsigned int value);
int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode,
unsigned int value);
OpenPOWER on IntegriCloud