diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-05 18:46:50 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-05 18:46:50 +0200 |
commit | 320ae4f8e752f6652c7b5c8201d7267cd4de17c1 (patch) | |
tree | 4423514c5433dc3b70e32fd5950a139827b94ac9 /lib/sqfs/meta_writer.c | |
parent | f92cf3b98f51d355c92900f1d316b141b2b9d4fd (diff) |
Cleanup naming scheme of compressor
Add sqfs_* prefix to compressor, move implementation prefix up front.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/meta_writer.c')
-rw-r--r-- | lib/sqfs/meta_writer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/meta_writer.c b/lib/sqfs/meta_writer.c index c85a12e..af73de3 100644 --- a/lib/sqfs/meta_writer.c +++ b/lib/sqfs/meta_writer.c @@ -33,7 +33,7 @@ struct sqfs_meta_writer_t { int outfd; /* A pointer to the compressor to use for compressing the data */ - compressor_t *cmp; + sqfs_compressor_t *cmp; /* The raw data chunk that data is appended to */ uint8_t data[SQFS_META_BLOCK_SIZE]; @@ -51,7 +51,7 @@ static int write_block(int fd, meta_block_t *outblk) outblk->data, count + 2); } -sqfs_meta_writer_t *sqfs_meta_writer_create(int fd, compressor_t *cmp, +sqfs_meta_writer_t *sqfs_meta_writer_create(int fd, sqfs_compressor_t *cmp, bool keep_in_mem) { sqfs_meta_writer_t *m = calloc(1, sizeof(*m)); |