Commit e60efa40 authored by Bob Halley's avatar Bob Halley
Browse files

change FIND to SEARCH

parent 18e5d28c
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment