From 2eebf06ade7a316f057334dd6d76b6af22c8ff01 Mon Sep 17 00:00:00 2001 From: scratko Date: Sat, 30 Mar 2024 19:26:21 +0300 Subject: Minor changes Extended desctiption. Cleaning a terminal history before dispaing of the tree is added to the main file. Fixed some function declaration. --- rb_tree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rb_tree.h') diff --git a/rb_tree.h b/rb_tree.h index 491e5b8..7e7e4d7 100644 --- a/rb_tree.h +++ b/rb_tree.h @@ -22,8 +22,8 @@ void rb_tree_init(rb_tree *t); void rb_tree_insert_node(rb_tree *t, node *cur_node); void rb_tree_delete_node(rb_tree *t, node *cur_node); void rb_tree_clear(rb_tree *t, node *root); -node* rb_tree_create_node(rb_tree *t, int num); -node* rb_tree_search(rb_tree *t, node *root, int num); +node *rb_tree_create_node(rb_tree *t, int num); +node *rb_tree_search(rb_tree *t, node *root, int num); void rb_tree_print(rb_tree *t, node *root); #endif -- cgit v1.2.3