summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-03-09 13:38:50 +0000
committermpi <mpi@openbsd.org>2016-03-09 13:38:50 +0000
commitbfb9dbb129f33d0b36e00fdea72abdc16d0764eb (patch)
tree1ad2d988bed3c5d0351639c40278987bfc61a21f /sys/kern/kern_synch.c
parentAccept only character special devices rather than generating a core (diff)
downloadwireguard-openbsd-bfb9dbb129f33d0b36e00fdea72abdc16d0764eb.tar.xz
wireguard-openbsd-bfb9dbb129f33d0b36e00fdea72abdc16d0764eb.zip
Correct some comments and definitions, from Michal Mazurek.
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index da949842d4b..a57baf3a536 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_synch.c,v 1.128 2016/02/01 23:34:31 dlg Exp $ */
+/* $OpenBSD: kern_synch.c,v 1.129 2016/03/09 13:38:50 mpi Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*
@@ -59,7 +59,7 @@
#endif
int thrsleep(struct proc *, struct sys___thrsleep_args *);
-
+int thrsleep_unlock(void *, int);
/*
* We're only looking at 7 bits of the address; everything is
@@ -436,7 +436,6 @@ sys_sched_yield(struct proc *p, void *v, register_t *retval)
return (0);
}
-int thrsleep_unlock(void *, int);
int
thrsleep_unlock(void *lock, int lockflags)
{