Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man3 Rather than using RB_EMPTY() for checking if ...
details: https://anonhg.NetBSD.org/src/rev/36977c9ae97e
branches: trunk
changeset: 565601:36977c9ae97e
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Apr 14 11:05:19 2004 +0000
description:
Rather than using RB_EMPTY() for checking if a splay tree is empty,
suggest using it for checking if a red-black tree is empty.
diffstat:
share/man/man3/tree.3 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1c1657212e0b -r 36977c9ae97e share/man/man3/tree.3
--- a/share/man/man3/tree.3 Wed Apr 14 10:29:26 2004 +0000
+++ b/share/man/man3/tree.3 Wed Apr 14 11:05:19 2004 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: tree.3,v 1.2 2003/07/09 14:40:53 wiz Exp $
+.\" $NetBSD: tree.3,v 1.3 2004/04/14 11:05:19 pooka Exp $
.\" $OpenBSD: tree.3,v 1.9 2003/05/20 09:13:38 jmc Exp $
.\"/*
.\" * Copyright 2002 Niels Provos <provos%citi.umich.edu@localhost>
@@ -414,7 +414,7 @@
.Pp
The
.Fn RB_EMPTY
-macro should be used to check whether a splay tree is empty.
+macro should be used to check whether a red-black tree is empty.
.Sh NOTES
Trying to free a tree in the following way is a common error:
.Bd -literal -offset indent
Home |
Main Index |
Thread Index |
Old Index