diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-20 22:26:56 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-20 22:26:56 +0200 |
commit | 012a83c9466e8668fc08acb6a80fa4dd5c82997c (patch) | |
tree | 4cd6cb483db184e2fd560a48c3650431cb1fd5d3 /difftool/sqfsdiff.c | |
parent | 1a6b70f3702d3bdb0f1cb8e4669ec5ed21ea923b (diff) |
Add sqfs_ prefix to data_reader_t & functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool/sqfsdiff.c')
-rw-r--r-- | difftool/sqfsdiff.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/difftool/sqfsdiff.c b/difftool/sqfsdiff.c index 22b8ec6..b0d270a 100644 --- a/difftool/sqfsdiff.c +++ b/difftool/sqfsdiff.c @@ -69,19 +69,20 @@ static int open_sfqs(sqfs_state_t *state, const char *path) goto fail_dr; } - state->data = data_reader_create(state->file, state->super.block_size, - state->cmp); + state->data = sqfs_data_reader_create(state->file, + state->super.block_size, + state->cmp); if (state->data == NULL) { fprintf(stderr, "%s: error loading file system tree\n", path); goto fail_tree; } - if (data_reader_load_fragment_table(state->data, &state->super)) + if (sqfs_data_reader_load_fragment_table(state->data, &state->super)) goto fail_data; return 0; fail_data: - data_reader_destroy(state->data); + sqfs_data_reader_destroy(state->data); fail_tree: sqfs_dir_tree_destroy(state->root); fail_dr: @@ -97,7 +98,7 @@ fail_file: static void close_sfqs(sqfs_state_t *state) { - data_reader_destroy(state->data); + sqfs_data_reader_destroy(state->data); sqfs_dir_tree_destroy(state->root); sqfs_dir_reader_destroy(state->dr); sqfs_id_table_destroy(state->idtbl); |