Source-Changes-HG archive

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

[src/trunk]: src/share/man/man3 Fix date and conflict; use Dv for NULL.



details:   https://anonhg.NetBSD.org/src/rev/fd2dd80f0a28
branches:  trunk
changeset: 785776:fd2dd80f0a28
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Mar 29 21:45:27 2013 +0000

description:
Fix date and conflict; use Dv for NULL.

diffstat:

 share/man/man3/tree.3 |  16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diffs (66 lines):

diff -r ee1314330fca -r fd2dd80f0a28 share/man/man3/tree.3
--- a/share/man/man3/tree.3     Fri Mar 29 21:39:16 2013 +0000
+++ b/share/man/man3/tree.3     Fri Mar 29 21:45:27 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: tree.3,v 1.9 2013/03/29 21:16:31 christos Exp $
+.\"    $NetBSD: tree.3,v 1.10 2013/03/29 21:45:27 wiz Exp $
 .\"    $OpenBSD: tree.3,v 1.23 2011/07/09 08:43:01 jmc Exp $
 .\"/*
 .\" * Copyright 2002 Niels Provos <provos%citi.umich.edu@localhost>
@@ -24,7 +24,7 @@
 .\" * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\" */
-.Dd July 9 2011
+.Dd July 9, 2011
 .Dt TREE 3
 .Os
 .Sh NAME
@@ -241,11 +241,7 @@
 Finally,
 the
 .Fa CMP
-<<<<<<< tree.3
 argument is the name of a function used to compare trees' nodes
-=======
-argument is the name of a function used to compare tree nodes
->>>>>>> 1.8
 with each other.
 The function takes two arguments of type
 .Fa "struct TYPE *" .
@@ -273,7 +269,7 @@
 .Fa elm
 into the tree.
 Upon success,
-.Va NULL
+.Dv NULL
 is returned.
 If a matching element already exists in the tree, the insertion is
 aborted, and a pointer to the existing element is returned.
@@ -285,7 +281,7 @@
 from the tree pointed by
 .Fa head .
 Upon success, a pointer to the removed element is returned.
-.Va NULL
+.Dv NULL
 is returned if
 .Fa elm
 is not present in the tree.
@@ -418,7 +414,7 @@
 .Fa elm
 into the tree.
 Upon success,
-.Va NULL
+.Dv NULL
 is returned.
 If a matching element already exists in the tree, the insertion is
 aborted, and a pointer to the existing element is returned.
@@ -455,7 +451,7 @@
 .Fn RB_ROOT ,
 .Fn RB_MIN ,
 .Fn RB_MAX ,
-.Fn RB_NEXT,
+.Fn RB_NEXT ,
 and
 .Fn RB_PREV
 macros can be used to traverse the tree:



Home | Main Index | Thread Index | Old Index