]> wimlib.net Git - wimlib/blobdiff - include/wimlib/dentry.h
cleanups
[wimlib] / include / wimlib / dentry.h
index 15decce02c955757071d558fff7b193e39b8e135..1d869eae023c4979b30d8efcf0a1c2e3e24a9117 100644 (file)
@@ -62,7 +62,7 @@ struct wim_dentry {
         * long names but share the same case insensitive long name.  */
        struct list_head d_ci_conflict_list;
 
-       /* The parent of this directory entry. */
+       /* The parent of this directory entry. (The root is its own parent.)  */
        struct wim_dentry *d_parent;
 
        /* Linked list node that places this dentry in the list of aliases for
@@ -152,11 +152,6 @@ for_dentry_in_tree(struct wim_dentry *root,
                   int (*visitor)(struct wim_dentry*, void*),
                   void *args);
 
-extern int
-for_dentry_in_tree_depth(struct wim_dentry *root,
-                        int (*visitor)(struct wim_dentry*, void*),
-                        void *args);
-
 /* Iterate through each @child dentry of the @dir directory inode,
  * in sorted order (by case sensitive name).  */
 #define for_inode_child(child, dir)                                            \