diff options
author | scratko <m@scratko.xyz> | 2024-03-30 19:26:21 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-03-30 19:26:21 +0300 |
commit | 2eebf06ade7a316f057334dd6d76b6af22c8ff01 (patch) | |
tree | ae591df0dea6c03c93c0406e5bdcd81ad55b7a5a /rb_tree.h | |
parent | ff69b8a8f2997c794ed4790dd84d2b3657f2f86e (diff) | |
download | red-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |