back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/rb_tree.h
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-03-30 19:26:21 +0300
committerscratko <m@scratko.xyz>2024-03-30 19:26:21 +0300
commit2eebf06ade7a316f057334dd6d76b6af22c8ff01 (patch)
treeae591df0dea6c03c93c0406e5bdcd81ad55b7a5a /rb_tree.h
parentff69b8a8f2997c794ed4790dd84d2b3657f2f86e (diff)
downloadred-black-tree-2eebf06ade7a316f057334dd6d76b6af22c8ff01.tar.gz
red-black-tree-2eebf06ade7a316f057334dd6d76b6af22c8ff01.tar.bz2
red-black-tree-2eebf06ade7a316f057334dd6d76b6af22c8ff01.zip
Minor changes
Extended desctiption. Cleaning a terminal history before dispaing of the tree is added to the main file. Fixed some function declaration.
Diffstat (limited to 'rb_tree.h')
-rw-r--r--rb_tree.h4
1 files changed, 2 insertions, 2 deletions
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