summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authormvs <mvs@cvs.openbsd.org>2021-01-16 15:02:41 +0000
committermvs <mvs@cvs.openbsd.org>2021-01-16 15:02:41 +0000
commit699c5253c6e25a5703076b481ebae52cc4a19160 (patch)
treeb6cd5e3c9f7fc53d62ac2cc41b4a6f7be9ab8e41 /share/man
parent1ba59b723ee88386bfcb327376226bc32379059c (diff)
Fix prototype for rw_assert_wrlock() function.
ok anton@ kn@
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/rwlock.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/rwlock.9 b/share/man/man9/rwlock.9
index 9dff1f07fe0..f63f732688a 100644
--- a/share/man/man9/rwlock.9
+++ b/share/man/man9/rwlock.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rwlock.9,v 1.25 2019/11/04 18:16:27 anton Exp $
+.\" $OpenBSD: rwlock.9,v 1.26 2021/01/16 15:02:40 mvs Exp $
.\"
.\" Copyright (c) 2006 Pedro Martelletto <pedro@ambientworks.net>
.\" All rights reserved.
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 4 2019 $
+.Dd $Mdocdate: January 16 2021 $
.Dt RWLOCK 9
.Os
.Sh NAME
@@ -58,7 +58,7 @@
.Fn rw_exit_read "struct rwlock *rwl"
.Ft void
.Fn rw_exit_write "struct rwlock *rwl"
-.Ft int
+.Ft void
.Fn rw_assert_wrlock "struct rwlock *rwl"
.Ft void
.Fn rw_assert_rdlock "struct rwlock *rwl"