Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib Fix previous commit by also moving the type ...
details: https://anonhg.NetBSD.org/src/rev/0cfb48d64a91
branches: trunk
changeset: 754534:0cfb48d64a91
user: jruoho <jruoho%NetBSD.org@localhost>
date: Mon May 03 08:23:20 2010 +0000
description:
Fix previous commit by also moving the type of _malloc_options. In addition,
add a (commented) note that _malloc_message should be documented better.
diffstat:
lib/libc/stdlib/jemalloc.3 | 5 +++++
lib/libc/stdlib/malloc.3 | 3 +--
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r d94f555ef06d -r 0cfb48d64a91 lib/libc/stdlib/jemalloc.3
--- a/lib/libc/stdlib/jemalloc.3 Mon May 03 08:11:57 2010 +0000
+++ b/lib/libc/stdlib/jemalloc.3 Mon May 03 08:23:20 2010 +0000
@@ -43,6 +43,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
+.Ft const char *
.Va _malloc_options ;
.Sh DESCRIPTION
The
@@ -299,6 +300,10 @@
.Em A
option is set, all warnings are treated as errors.
.Pp
+.\"
+.\" XXX: The _malloc_message should be documented
+.\" better in order to be worth mentioning.
+.\"
The
.Va _malloc_message
variable allows the programmer to override the function which emits
diff -r d94f555ef06d -r 0cfb48d64a91 lib/libc/stdlib/malloc.3
--- a/lib/libc/stdlib/malloc.3 Mon May 03 08:11:57 2010 +0000
+++ b/lib/libc/stdlib/malloc.3 Mon May 03 08:23:20 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: malloc.3,v 1.37 2010/05/03 08:11:57 jruoho Exp $
+.\" $NetBSD: malloc.3,v 1.38 2010/05/03 08:23:20 jruoho Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -52,7 +52,6 @@
.Fn realloc "void *ptr" "size_t size"
.Ft void
.Fn free "void *ptr"
-.Ft const char *
.Sh DESCRIPTION
The
.Fn malloc
Home |
Main Index |
Thread Index |
Old Index