Source-Changes-HG archive

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

[src/trunk]: src/lib/libbsdmalloc bsdmalloc.3: fix typos in function parameters



details:   https://anonhg.NetBSD.org/src/rev/8b93e68f79c1
branches:  trunk
changeset: 377274:8b93e68f79c1
user:      rillig <rillig%NetBSD.org@localhost>
date:      Wed Jul 05 07:13:56 2023 +0000

description:
bsdmalloc.3: fix typos in function parameters

diffstat:

 lib/libbsdmalloc/bsdmalloc.3 |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r dee8ebc8b830 -r 8b93e68f79c1 lib/libbsdmalloc/bsdmalloc.3
--- a/lib/libbsdmalloc/bsdmalloc.3      Wed Jul 05 02:54:37 2023 +0000
+++ b/lib/libbsdmalloc/bsdmalloc.3      Wed Jul 05 07:13:56 2023 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bsdmalloc.3,v 1.1 2023/07/04 16:23:15 riastradh Exp $
+.\"    $NetBSD: bsdmalloc.3,v 1.2 2023/07/05 07:13:56 rillig Exp $
 .\"
 .\" Copyright (c) 2023 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -35,7 +35,7 @@
 .Sh SYNOPSIS
 .In stdlib.h
 .Ft void *
-.Fn malloc "void *size"
+.Fn malloc "size_t *size"
 .Ft void *
 .Fn calloc "size_t nmemb" "size_t size"
 .Ft void *
@@ -47,11 +47,11 @@
 .Ft void
 .Fn free "void *ptr"
 .Ft void
-.Fn _malloc_prefork
+.Fn _malloc_prefork "void"
 .Ft void
-.Fn _malloc_postfork
+.Fn _malloc_postfork "void"
 .Ft void
-.Fn _malloc_postfork_child
+.Fn _malloc_postfork_child "void"
 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .Sh DESCRIPTION
 The



Home | Main Index | Thread Index | Old Index