diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-07-02 19:31:51 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-07-03 09:31:51 +0200 |
commit | ec593e0b94656a5481f82ee0f33728ced297ac48 (patch) | |
tree | c4172c686b628ff3d0c198dc05aa0db83239d6bd /bin/tar2sqfs | |
parent | 181815fb432007f5e8b8cbd15c3f66beea04e601 (diff) |
Refactor: rename dir_entry_t to sqfs_dir_entry_t
Exact operation performed:
git ls-files -z | \
xargs -0 sed -i -e 's/dir_entry_t/sqfs_dir_entry_t/g
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/tar2sqfs')
-rw-r--r-- | bin/tar2sqfs/src/process_tarball.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/tar2sqfs/src/process_tarball.c b/bin/tar2sqfs/src/process_tarball.c index a2a4360..ecb9095 100644 --- a/bin/tar2sqfs/src/process_tarball.c +++ b/bin/tar2sqfs/src/process_tarball.c @@ -7,7 +7,7 @@ #include "tar2sqfs.h" static int write_file(sqfs_writer_t *sqfs, dir_iterator_t *it, - const dir_entry_t *ent, tree_node_t *n) + const sqfs_dir_entry_t *ent, tree_node_t *n) { int flags = 0, ret = 0; sqfs_ostream_t *out; @@ -92,7 +92,7 @@ fail: } static int create_node_and_repack_data(sqfs_writer_t *sqfs, dir_iterator_t *it, - const dir_entry_t *ent, const char *link) + const sqfs_dir_entry_t *ent, const char *link) { tree_node_t *node; @@ -128,7 +128,7 @@ fail_errno: } static int set_root_attribs(sqfs_writer_t *sqfs, dir_iterator_t *it, - const dir_entry_t *ent) + const sqfs_dir_entry_t *ent) { if ((ent->flags & DIR_ENTRY_FLAG_HARD_LINK) || !S_ISDIR(ent->mode)) { fprintf(stderr, "'%s' is not a directory!\n", ent->name); @@ -156,7 +156,7 @@ int process_tarball(dir_iterator_t *it, sqfs_writer_t *sqfs) for (;;) { bool skip = false, is_root = false, is_prefixed = true; - dir_entry_t *ent = NULL; + sqfs_dir_entry_t *ent = NULL; char *link = NULL; int ret; |