aboutsummaryrefslogtreecommitdiff
path: root/lib/fstree/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstree/src')
-rw-r--r--lib/fstree/src/mknode.c4
1 files changed, 2 insertions, 2 deletions
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 <stdlib.h>
#include <errno.h>
-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++;
}