From 8c0aa2504199036eaaa09673ea93dcdcd79606ef Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 2 Jul 2022 21:14:45 +0200 Subject: Cleanup: move inode_stat to sqfs2tar After trying removing many instances of `struct stat`, there is only one user of inode_stat left, so move the function there. Signed-off-by: David Oberhollenzer --- include/common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index cbd73b2..5ef4e05 100644 --- a/include/common.h +++ b/include/common.h @@ -34,8 +34,6 @@ typedef struct sqfs_hard_link_t { char *target; } sqfs_hard_link_t; -int inode_stat(const sqfs_tree_node_t *node, struct stat *sb); - char *sqfs_tree_node_get_path(const sqfs_tree_node_t *node); int sqfs_data_reader_dump(const char *name, sqfs_data_reader_t *data, -- cgit v1.2.3