summaryrefslogtreecommitdiff
path: root/difftool/compare_files.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-20 22:26:56 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-20 22:26:56 +0200
commit012a83c9466e8668fc08acb6a80fa4dd5c82997c (patch)
tree4cd6cb483db184e2fd560a48c3650431cb1fd5d3 /difftool/compare_files.c
parent1a6b70f3702d3bdb0f1cb8e4669ec5ed21ea923b (diff)
Add sqfs_ prefix to data_reader_t & functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool/compare_files.c')
-rw-r--r--difftool/compare_files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/difftool/compare_files.c b/difftool/compare_files.c
index 591fc2c..a977d95 100644
--- a/difftool/compare_files.c
+++ b/difftool/compare_files.c
@@ -10,12 +10,12 @@ static unsigned char old_buf[MAX_WINDOW_SIZE];
static unsigned char new_buf[MAX_WINDOW_SIZE];
static int read_blob(const char *prefix, const char *path,
- data_reader_t *rd, const sqfs_inode_generic_t *inode,
+ sqfs_data_reader_t *rd, const sqfs_inode_generic_t *inode,
void *buffer, uint64_t offset, size_t size)
{
ssize_t ret;
- ret = data_reader_read(rd, inode, offset, buffer, size);
+ ret = sqfs_data_reader_read(rd, inode, offset, buffer, size);
ret = (ret < 0 || (size_t)ret < size) ? -1 : 0;
if (ret) {