diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2003-12-28 01:37:48 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2003-12-28 01:37:48 +0000 |
commit | 89eb2dfeeb5b102ba2e487840af56dbf6c057a25 (patch) | |
tree | 2c6343cab260d94ed498deb178b47ee4464c83c8 | |
parent | 20ebc42a34fdd5170f5a36c6b7ee34805f9b5755 (diff) | |
download | FreeBSD-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.9 | 2 |
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 |