aboutsummaryrefslogtreecommitdiff
path: root/lib/dirtree.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-02-07 17:19:44 -0600
committerRob Landley <rob@landley.net>2021-02-07 17:19:44 -0600
commit664c417af5d16e217557468ba747a369e8e1ab6b (patch)
tree028aacc085207ef347fdaa9eb1ccf86d06257208 /lib/dirtree.c
parent9f7f62615f3963591af33fcc7582867f7063efd2 (diff)
downloadtoybox-664c417af5d16e217557468ba747a369e8e1ab6b.tar.gz
Add lots of "static" annotations, make a couple things use FLAG() macros, etc.
Diffstat (limited to 'lib/dirtree.c')
-rw-r--r--lib/dirtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dirtree.c b/lib/dirtree.c
index 8c3b6a1c..43ecbd85 100644
--- a/lib/dirtree.c
+++ b/lib/dirtree.c
@@ -113,8 +113,8 @@ int dirtree_parentfd(struct dirtree *node)
// returns NULL. If !callback return top node unchanged.
// If !new return DIRTREE_ABORTVAL
-struct dirtree *dirtree_handle_callback(struct dirtree *new,
- int (*callback)(struct dirtree *node))
+static struct dirtree *dirtree_handle_callback(struct dirtree *new,
+ int (*callback)(struct dirtree *node))
{
int flags;