diff options
Diffstat (limited to 'lib/common')
-rw-r--r-- | lib/common/comp_opt.c | 4 | ||||
-rw-r--r-- | lib/common/compress.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/common/comp_opt.c b/lib/common/comp_opt.c index 66d562e..58a7a21 100644 --- a/lib/common/comp_opt.c +++ b/lib/common/comp_opt.c @@ -89,7 +89,7 @@ static char *const token[] = { }; int compressor_cfg_init_options(sqfs_compressor_config_t *cfg, - E_SQFS_COMPRESSOR id, + SQFS_COMPRESSOR id, size_t block_size, char *options) { size_t num_flags = 0, min_level = 0, max_level = 0, level, dict_size; @@ -332,7 +332,7 @@ static const compressor_help_fun_t helpfuns[SQFS_COMP_MAX + 1] = { [SQFS_COMP_ZSTD] = zstd_print_help, }; -void compressor_print_help(E_SQFS_COMPRESSOR id) +void compressor_print_help(SQFS_COMPRESSOR id) { if (id < SQFS_COMP_MIN || id > SQFS_COMP_MAX) return; diff --git a/lib/common/compress.c b/lib/common/compress.c index a2f53c2..3ee242d 100644 --- a/lib/common/compress.c +++ b/lib/common/compress.c @@ -6,7 +6,7 @@ */ #include "common.h" -E_SQFS_COMPRESSOR compressor_get_default(void) +SQFS_COMPRESSOR compressor_get_default(void) { if (sqfs_compressor_exists(SQFS_COMP_XZ)) return SQFS_COMP_XZ; |