summaryrefslogtreecommitdiff
path: root/include/sqfs/super.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-10 10:53:09 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-10 10:53:09 +0200
commit5367faefd2490e09abed41f655c3db55d36752ad (patch)
tree1f9ed54dde8d31d72442bd1f2459156fafb071cc /include/sqfs/super.h
parentc17de5d4c2699c6c5b4759f009ce8cb6560d2f13 (diff)
Cleanup: mark arguments const where possible
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/super.h')
-rw-r--r--include/sqfs/super.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sqfs/super.h b/include/sqfs/super.h
index 5e6c00a..aea2394 100644
--- a/include/sqfs/super.h
+++ b/include/sqfs/super.h
@@ -301,7 +301,7 @@ SQFS_API int sqfs_super_init(sqfs_super_t *super, size_t block_size,
* @return Zero on success, an @ref E_SQFS_ERROR value if one of the
* fields does not hold a valid value.
*/
-SQFS_API int sqfs_super_write(sqfs_super_t *super, sqfs_file_t *file);
+SQFS_API int sqfs_super_write(const sqfs_super_t *super, sqfs_file_t *file);
/**
* @brief Read a SquashFS super block from disk, decode it and check the fields