X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib%2Fdentry.h;h=f5140281e686af0ee8b80338c204f9a5517ad399;hp=a2735e5ef3e02fa5a8c00072f9279fcb2e7aaa92;hb=d9675dd5814394373d9871c6e9b7b35325b3d21d;hpb=da8fe9993a0ece30bd57596081e778364ba72ec5 diff --git a/include/wimlib/dentry.h b/include/wimlib/dentry.h index a2735e5e..f5140281 100644 --- a/include/wimlib/dentry.h +++ b/include/wimlib/dentry.h @@ -432,15 +432,10 @@ for_dentry_in_rbtree(struct rb_node *node, int (*visitor)(struct wim_dentry *, void *), void *arg); -static inline int +extern int for_dentry_child(const struct wim_dentry *dentry, int (*visitor)(struct wim_dentry *, void *), - void *arg) -{ - return for_dentry_in_rbtree(dentry->d_inode->i_children.rb_node, - visitor, - arg); -} + void *arg); extern int for_dentry_in_tree_depth(struct wim_dentry *root,