aboutsummaryrefslogtreecommitdiff
path: root/src/tbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tbf.c')
-rw-r--r--src/tbf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tbf.c b/src/tbf.c
index 8fe3870..85dd608 100644
--- a/src/tbf.c
+++ b/src/tbf.c
@@ -193,13 +193,13 @@ tree_delete_node_unlocked(struct tree *tree, struct node *node)
/* No right subtree: link the left subtree to the parent slot */
*slot = node->child[CHILD_LEFT];
if (node->child[CHILD_LEFT])
node->child[CHILD_LEFT]->parent = parent;
} else {
/* Node has both subtrees. Find the largest value in the
- right subtree */
+ left subtree */
struct node *p;
for (p = node->child[CHILD_LEFT]; p->child[CHILD_RIGHT];
p = p->child[CHILD_RIGHT])
;
p->child[CHILD_RIGHT] = node->child[CHILD_RIGHT];
@@ -833,13 +833,13 @@ tbf_release_tree(struct tree **t)
{
tree_unref(t);
}
static void
-tbf_exit()
+tbf_exit(void)
{
if (tbf_dump_file_name) {
struct tree *t = tbf_get_tree();
tree_dump(t, tbf_dump_file_name);
tbf_release_tree(&t);
}

Return to:

Send suggestions and report system problems to the System administrator.