mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
change FIND to SEARCH
This commit is contained in:
parent
18e5d28c86
commit
e60efa407d
@ -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…
x
Reference in New Issue
Block a user