diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-10 10:53:09 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-10 10:53:09 +0200 |
commit | 5367faefd2490e09abed41f655c3db55d36752ad (patch) | |
tree | 1f9ed54dde8d31d72442bd1f2459156fafb071cc /lib/sqfs/meta_reader.c | |
parent | c17de5d4c2699c6c5b4759f009ce8cb6560d2f13 (diff) |
Cleanup: mark arguments const where possible
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/meta_reader.c')
-rw-r--r-- | lib/sqfs/meta_reader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/meta_reader.c b/lib/sqfs/meta_reader.c index 72d8db1..08ac28d 100644 --- a/lib/sqfs/meta_reader.c +++ b/lib/sqfs/meta_reader.c @@ -126,8 +126,8 @@ int sqfs_meta_reader_seek(sqfs_meta_reader_t *m, uint64_t block_start, return 0; } -void sqfs_meta_reader_get_position(sqfs_meta_reader_t *m, uint64_t *block_start, - size_t *offset) +void sqfs_meta_reader_get_position(const sqfs_meta_reader_t *m, + uint64_t *block_start, size_t *offset) { *block_start = m->block_offset; *offset = m->offset; |