Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 module_hold() returns void, not int



details:   https://anonhg.NetBSD.org/src/rev/b5b6dd4dd8da
branches:  trunk
changeset: 1022494:b5b6dd4dd8da
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Jul 22 01:38:45 2021 +0000

description:
module_hold() returns void, not int

XXX module_hold() and module_rele() should probably not be exposed, since
XXX they really aren't MP-safe.

diffstat:

 share/man/man9/module.9 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2f3f067af140 -r b5b6dd4dd8da share/man/man9/module.9
--- a/share/man/man9/module.9   Thu Jul 22 01:31:55 2021 +0000
+++ b/share/man/man9/module.9   Thu Jul 22 01:38:45 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: module.9,v 1.52 2019/04/07 22:32:10 pgoyette Exp $
+.\"    $NetBSD: module.9,v 1.53 2021/07/22 01:38:45 pgoyette Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 8, 2019
+.Dd July 21, 2021
 .Dt MODULE 9
 .Os
 .Sh NAME
@@ -61,7 +61,7 @@
 .Fn module_unload "const char *name"
 .Ft void
 .Fn module_init_class "modclass_t class"
-.Ft int
+.Ft void
 .Fn module_hold "module_t *module"
 .Ft void
 .Fn module_rele "module_t *module"



Home | Main Index | Thread Index | Old Index