From e60efa407d8a425638bc2a00e4ca867b966544e9 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sat, 14 Nov 1998 02:41:06 +0000 Subject: [PATCH] change FIND to SEARCH --- lib/isc/include/isc/rbtgen.h | 2 +- lib/isc/rbtgen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {