From c25d010093a6c897cca3fddc0cb1155a3786b664 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 12 May 2014 18:18:21 -0500 Subject: [PATCH] dentry.c: Remove calculate_dentry_tree_full_paths() --- include/wimlib/dentry.h | 3 --- src/dentry.c | 12 ------------ 2 files changed, 15 deletions(-) diff --git a/include/wimlib/dentry.h b/include/wimlib/dentry.h index 57f967b7..64c82d6e 100644 --- a/include/wimlib/dentry.h +++ b/include/wimlib/dentry.h @@ -236,9 +236,6 @@ wim_pathname_to_stream(WIMStruct *wim, extern int calculate_dentry_full_path(struct wim_dentry *dentry); -extern int -calculate_dentry_tree_full_paths(struct wim_dentry *root); - extern tchar * dentry_full_path(struct wim_dentry *dentry); diff --git a/src/dentry.c b/src/dentry.c index e42c9226..402c780f 100644 --- a/src/dentry.c +++ b/src/dentry.c @@ -470,18 +470,6 @@ calculate_dentry_full_path(struct wim_dentry *dentry) return 0; } -static int -do_calculate_dentry_full_path(struct wim_dentry *dentry, void *_ignore) -{ - return calculate_dentry_full_path(dentry); -} - -int -calculate_dentry_tree_full_paths(struct wim_dentry *root) -{ - return for_dentry_in_tree(root, do_calculate_dentry_full_path, NULL); -} - tchar * dentry_full_path(struct wim_dentry *dentry) { -- 2.43.0