mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
RB_EMPTY() applies to red-black trees, not splay trees.
This commit is contained in:
parent
5129dcfce7
commit
309e4b9b6d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue