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/dir_writer.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/dir_writer.c')
-rw-r--r-- | lib/sqfs/dir_writer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqfs/dir_writer.c b/lib/sqfs/dir_writer.c index 70c035e..d7bb590 100644 --- a/lib/sqfs/dir_writer.c +++ b/lib/sqfs/dir_writer.c @@ -260,22 +260,22 @@ int sqfs_dir_writer_end(sqfs_dir_writer_t *writer) return 0; } -size_t sqfs_dir_writer_get_size(sqfs_dir_writer_t *writer) +size_t sqfs_dir_writer_get_size(const sqfs_dir_writer_t *writer) { return writer->dir_size; } -uint64_t sqfs_dir_writer_get_dir_reference(sqfs_dir_writer_t *writer) +uint64_t sqfs_dir_writer_get_dir_reference(const sqfs_dir_writer_t *writer) { return writer->dir_ref; } -size_t sqfs_dir_writer_get_index_size(sqfs_dir_writer_t *writer) +size_t sqfs_dir_writer_get_index_size(const sqfs_dir_writer_t *writer) { return writer->idx_size; } -int sqfs_dir_writer_write_index(sqfs_dir_writer_t *writer, +int sqfs_dir_writer_write_index(const sqfs_dir_writer_t *writer, sqfs_meta_writer_t *im) { sqfs_dir_index_t ent; |