aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-07-02 21:14:45 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-07-08 19:17:35 +0200
commit8c0aa2504199036eaaa09673ea93dcdcd79606ef (patch)
treea27807d97cb7c390cbba15c063b07650803de620 /include/common.h
parent10ab81a0de97513d82d05945c12bff87b02ede27 (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 0 insertions, 2 deletions
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,