aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/sem.h')
-rw-r--r--sys/sys/sem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/sem.h b/sys/sys/sem.h
index 05b69f64cd05..5634f4b0cfcc 100644
--- a/sys/sys/sem.h
+++ b/sys/sys/sem.h
@@ -142,6 +142,9 @@ extern struct seminfo seminfo;
*/
void semexit(struct proc *p);
+int kern_get_sema(struct thread *td, struct semid_kernel **res,
+ size_t *sz);
+
#else /* !_KERNEL */
__BEGIN_DECLS