diff --git a/lib/isc/include/isc/rbtgen.h b/lib/isc/include/isc/rbtgen.h index 6e1ebfc2b3..09055c9aef 100644 --- a/lib/isc/include/isc/rbtgen.h +++ b/lib/isc/include/isc/rbtgen.h @@ -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); diff --git a/lib/isc/rbtgen.c b/lib/isc/rbtgen.c index c41f3334c4..f228882b5c 100644 --- a/lib/isc/rbtgen.c +++ b/lib/isc/rbtgen.c @@ -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) {