mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
change FIND to SEARCH
This commit is contained in:
@@ -6,6 +6,6 @@
|
|||||||
|
|
||||||
typedef struct RBT_NODE *RBT_NODE_T;
|
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_INSERT(RBT_NODE_T, RBT_NODE_T *);
|
||||||
void RBT_PRINT(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_NODE_T
|
||||||
RBT_FIND(RBT_NODE_T current, RBT_KEY_T key) {
|
RBT_SEARCH(RBT_NODE_T current, RBT_KEY_T key) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
while (current != NULL) {
|
while (current != NULL) {
|
||||||
|
Reference in New Issue
Block a user