mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-25 16:18:03 -04:00
change FIND to SEARCH
This commit is contained in:
parent
18e5d28c86
commit
e60efa407d
2 changed files with 2 additions and 2 deletions
|
|
@ -6,6 +6,6 @@
|
|||
|
||||
typedef struct RBT_NODE *RBT_NODE_T;
|
||||
|
||||
RBT_NODE_T RBT_FIND(RBT_NODE_T, RBT_KEY_T);
|
||||
RBT_NODE_T RBT_SEARCH(RBT_NODE_T, RBT_KEY_T);
|
||||
void RBT_INSERT(RBT_NODE_T, RBT_NODE_T *);
|
||||
void RBT_PRINT(RBT_NODE_T);
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ rotate_right(RBT_NODE_T node, RBT_NODE_T parent, RBT_NODE_T *rootp) {
|
|||
}
|
||||
|
||||
RBT_NODE_T
|
||||
RBT_FIND(RBT_NODE_T current, RBT_KEY_T key) {
|
||||
RBT_SEARCH(RBT_NODE_T current, RBT_KEY_T key) {
|
||||
int i;
|
||||
|
||||
while (current != NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue