From 4ba31cfa1521c94f4be73ea4c4c97d9ff475e89f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 16 Apr 2023 22:39:08 +0200 Subject: Internalize fstree_insert_sorted Signed-off-by: David Oberhollenzer --- lib/fstree/src/mknode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/fstree/src') diff --git a/lib/fstree/src/mknode.c b/lib/fstree/src/mknode.c index 2faf901..8f1d212 100644 --- a/lib/fstree/src/mknode.c +++ b/lib/fstree/src/mknode.c @@ -11,7 +11,7 @@ #include #include -void fstree_insert_sorted(tree_node_t *root, tree_node_t *n) +static void insert_sorted(tree_node_t *root, tree_node_t *n) { tree_node_t *it = root->data.dir.children, *prev = NULL; @@ -93,7 +93,7 @@ tree_node_t *fstree_mknode(tree_node_t *parent, const char *name, return NULL; } - fstree_insert_sorted(parent, n); + insert_sorted(parent, n); parent->link_count++; } -- cgit v1.2.3