From ec5ba7eb521626a85d2ab22e97eb1298b2ff6f55 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 9 Jun 2020 06:51:31 +0200 Subject: Cleanup: mark sqfs_xattr_writer_flush writer argument as const It does not make any changes to the writer itself, so mark it as const. This also requires some similar changes to the string table. Signed-off-by: David Oberhollenzer --- include/sqfs/xattr_writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sqfs') diff --git a/include/sqfs/xattr_writer.h b/include/sqfs/xattr_writer.h index 21c5179..4b93118 100644 --- a/include/sqfs/xattr_writer.h +++ b/include/sqfs/xattr_writer.h @@ -129,7 +129,7 @@ SQFS_API int sqfs_xattr_writer_end(sqfs_xattr_writer_t *xwr, sqfs_u32 *out); * * @return Zero on success, a negative @ref SQFS_ERROR value on failure. */ -SQFS_API int sqfs_xattr_writer_flush(sqfs_xattr_writer_t *xwr, +SQFS_API int sqfs_xattr_writer_flush(const sqfs_xattr_writer_t *xwr, sqfs_file_t *file, sqfs_super_t *super, sqfs_compressor_t *cmp); -- cgit v1.2.3