aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/lib.h b/lib/lib.h
index d3c937ca..07cc9cd8 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -22,8 +22,7 @@ struct arg_list {
};
struct dirtree {
- struct dirtree *next;
- struct dirtree *child;
+ struct dirtree *next, *child, *parent;
struct stat st;
char name[];
};
@@ -68,7 +67,7 @@ char *utoa(unsigned n);
char *itoa(int n);
off_t fdlength(int fd);
struct dirtree *read_dirtree_node(char *path);
-struct dirtree *read_dirtree(char *path);
+struct dirtree *read_dirtree(char *path, struct dirtree *parent);
// getmountlist.c
struct mtab_list {