RB_EMPTY() applies to red-black trees, not splay trees.

This commit is contained in:
Dag-Erling Smørgrav 2003-11-10 10:35:06 +00:00
parent 5129dcfce7
commit 309e4b9b6d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122411

View File

@ -431,7 +431,7 @@ macro:
.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