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 /lib/fstree/test | |
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 'lib/fstree/test')
-rw-r--r-- | lib/fstree/test/add_by_path.c | 6 | ||||
-rw-r--r-- | lib/fstree/test/fstree_sort.c | 2 | ||||
-rw-r--r-- | lib/fstree/test/gen_inode_numbers.c | 2 | ||||
-rw-r--r-- | lib/fstree/test/get_path.c | 6 | ||||
-rw-r--r-- | lib/fstree/test/mknode_dir.c | 6 | ||||
-rw-r--r-- | lib/fstree/test/mknode_simple.c | 6 |
6 files changed, 14 insertions, 14 deletions
diff --git a/lib/fstree/test/add_by_path.c b/lib/fstree/test/add_by_path.c index 4fd7d3d..b9f4b75 100644 --- a/lib/fstree/test/add_by_path.c +++ b/lib/fstree/test/add_by_path.c @@ -10,10 +10,10 @@ #include "common.h" #include "util/test.h" -static dir_entry_t *mkentry(const char *name, sqfs_u16 mode, sqfs_u32 uid, +static sqfs_dir_entry_t *mkentry(const char *name, sqfs_u16 mode, sqfs_u32 uid, sqfs_u32 gid) { - dir_entry_t *ent = dir_entry_create(name); + sqfs_dir_entry_t *ent = dir_entry_create(name); TEST_NOT_NULL(ent); ent->mode = mode; @@ -26,7 +26,7 @@ int main(int argc, char **argv) { fstree_defaults_t fsd; tree_node_t *a, *b; - dir_entry_t *ent; + sqfs_dir_entry_t *ent; fstree_t fs; char *opts; (void)argc; (void)argv; diff --git a/lib/fstree/test/fstree_sort.c b/lib/fstree/test/fstree_sort.c index 7bce367..6f20ce7 100644 --- a/lib/fstree/test/fstree_sort.c +++ b/lib/fstree/test/fstree_sort.c @@ -12,7 +12,7 @@ static tree_node_t *mkentry(fstree_t *fs, const char *name) { - dir_entry_t *ent = dir_entry_create(name); + sqfs_dir_entry_t *ent = dir_entry_create(name); tree_node_t *out; TEST_NOT_NULL(ent); diff --git a/lib/fstree/test/gen_inode_numbers.c b/lib/fstree/test/gen_inode_numbers.c index ea310a4..34d8322 100644 --- a/lib/fstree/test/gen_inode_numbers.c +++ b/lib/fstree/test/gen_inode_numbers.c @@ -12,7 +12,7 @@ static tree_node_t *gen_node(fstree_t *fs, const char *path) { - dir_entry_t *ent = dir_entry_create(path); + sqfs_dir_entry_t *ent = dir_entry_create(path); tree_node_t *ret; TEST_NOT_NULL(ent); diff --git a/lib/fstree/test/get_path.c b/lib/fstree/test/get_path.c index 50faeb4..f248c79 100644 --- a/lib/fstree/test/get_path.c +++ b/lib/fstree/test/get_path.c @@ -10,9 +10,9 @@ #include "common.h" #include "util/test.h" -static dir_entry_t *mkentry(const char *name) +static sqfs_dir_entry_t *mkentry(const char *name) { - dir_entry_t *ent = dir_entry_create(name); + sqfs_dir_entry_t *ent = dir_entry_create(name); TEST_NOT_NULL(ent); ent->mode = S_IFDIR | 0750; ent->uid = 1000; @@ -24,7 +24,7 @@ int main(int argc, char **argv) { tree_node_t *a, *b, *c, *d; fstree_defaults_t fsd; - dir_entry_t *ent; + sqfs_dir_entry_t *ent; fstree_t fs; char *str; (void)argc; (void)argv; diff --git a/lib/fstree/test/mknode_dir.c b/lib/fstree/test/mknode_dir.c index 080cc0e..f852706 100644 --- a/lib/fstree/test/mknode_dir.c +++ b/lib/fstree/test/mknode_dir.c @@ -9,9 +9,9 @@ #include "fstree.h" #include "util/test.h" -static dir_entry_t *mkentry(const char *name) +static sqfs_dir_entry_t *mkentry(const char *name) { - dir_entry_t *ent = dir_entry_create(name); + sqfs_dir_entry_t *ent = dir_entry_create(name); TEST_NOT_NULL(ent); ent->mode = S_IFDIR | 0654; ent->uid = 123; @@ -25,7 +25,7 @@ int main(int argc, char **argv) { fstree_defaults_t defaults; tree_node_t *root, *a, *b; - dir_entry_t *ent; + sqfs_dir_entry_t *ent; fstree_t fs; int ret; (void)argc; (void)argv; diff --git a/lib/fstree/test/mknode_simple.c b/lib/fstree/test/mknode_simple.c index 0e7c872..d871c5a 100644 --- a/lib/fstree/test/mknode_simple.c +++ b/lib/fstree/test/mknode_simple.c @@ -9,9 +9,9 @@ #include "fstree.h" #include "util/test.h" -static dir_entry_t *mkentry(const char *name, sqfs_u16 mode) +static sqfs_dir_entry_t *mkentry(const char *name, sqfs_u16 mode) { - dir_entry_t *ent = dir_entry_create(name); + sqfs_dir_entry_t *ent = dir_entry_create(name); TEST_NOT_NULL(ent); ent->mode = mode | 0654; ent->uid = 123; @@ -25,7 +25,7 @@ int main(int argc, char **argv) { fstree_defaults_t defaults; tree_node_t *node; - dir_entry_t *ent; + sqfs_dir_entry_t *ent; fstree_t fs; int ret; (void)argc; (void)argv; |