aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-04-21 17:46:25 -0500
committerRob Landley <rob@landley.net>2016-04-21 17:46:25 -0500
commitbb77dde5ddfba8fe0c819b18b547c2d710956502 (patch)
tree50948a567f42b7be3ce648eb3045b9db2961db10 /lib/lib.h
parent00385e8d0e1f83a58710ada4a210d15102542b7d (diff)
downloadtoybox-bb77dde5ddfba8fe0c819b18b547c2d710956502.tar.gz
Have dirtree_recurse() take the new dirfd as an argument.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 23a3b2b3..aafa9693 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -84,7 +84,7 @@ char *dirtree_path(struct dirtree *node, int *plen);
int dirtree_notdotdot(struct dirtree *catch);
int dirtree_parentfd(struct dirtree *node);
int dirtree_recurse(struct dirtree *node, int (*callback)(struct dirtree *node),
- int symfollow);
+ int dirfd, int symfollow);
struct dirtree *dirtree_flagread(char *path, int flags,
int (*callback)(struct dirtree *node));
struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node));