aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2003-12-28 01:37:48 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2003-12-28 01:37:48 +0000
commit6c0f2b530ef5673214151524ee7f547ed1a34f25 (patch)
tree2c6343cab260d94ed498deb178b47ee4464c83c8 /share
parent7e1cecfd0f054a9abb3b5eeb5c2347be2d02ff90 (diff)
downloadsrc-6c0f2b530ef5673214151524ee7f547ed1a34f25.tar.gz
src-6c0f2b530ef5673214151524ee7f547ed1a34f25.zip
Make this manual page reflect the sources better.
- A #include of <sys/mutex.h> is no longer needed to use sx(9) (since 2001/05/01). - Use of the SX_SYSINIT() macro requires inclusion of '<sys/kernel.h>'
Notes
Notes: svn path=/head/; revision=123918
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/sx.92
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man9/sx.9 b/share/man/man9/sx.9
index d2c442cd699b..6da1adf44fa6 100644
--- a/share/man/man9/sx.9
+++ b/share/man/man9/sx.9
@@ -47,7 +47,6 @@
.Sh SYNOPSIS
.In sys/param.h
.In sys/lock.h
-.In sys/mutex.h
.In sys/sx.h
.Ft void
.Fn sx_init "struct sx *sx" "const char *description"
@@ -71,6 +70,7 @@
.Fn sx_downgrade "struct sx *sx"
.Ft void
.Fn sx_assert "struct sx *sx" "int what"
+.In sys/kernel.h
.Fn SX_SYSINIT "name" "struct sx *sx" "const char *description"
.Sh DESCRIPTION
Shared/exclusive locks are used to protect data that are read far more often