diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-16 22:39:08 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-17 19:50:51 +0200 |
commit | 4ba31cfa1521c94f4be73ea4c4c97d9ff475e89f (patch) | |
tree | 3a33cae1ccdfced406f3e500a9134539deb789c4 /lib | |
parent | 48c268f2504b8461d8118e0b94aaf6b27ca1618e (diff) |
Internalize fstree_insert_sorted
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fstree/src/mknode.c | 4 |
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++; } |