summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2003-12-28 01:37:48 +0000
committerjkoshy <jkoshy@FreeBSD.org>2003-12-28 01:37:48 +0000
commit89eb2dfeeb5b102ba2e487840af56dbf6c057a25 (patch)
tree2c6343cab260d94ed498deb178b47ee4464c83c8
parent20ebc42a34fdd5170f5a36c6b7ee34805f9b5755 (diff)
downloadFreeBSD-src-89eb2dfeeb5b102ba2e487840af56dbf6c057a25.zip
FreeBSD-src-89eb2dfeeb5b102ba2e487840af56dbf6c057a25.tar.gz
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>'
-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 d2c442c..6da1adf 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
OpenPOWER on IntegriCloud