From 5a8761b4991b5ef93322666fd1d3fbea05330511 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 2 Jun 2020 15:01:54 +0200 Subject: Cleanup: clear naming confusion lzma vs xz in some comments Previously, the XZ compressor was called LZMA at some points in the code, because it actually referres to LZMAv2 and the older LZMAv1 wasn't implemented. Since LZMAv1 is supported for some time now, simply calling it LZMA is confusing. This commit tries to replace the last bits where XZ is referred to as LZMA, which turns out to be only a hand full of comments. Signed-off-by: David Oberhollenzer --- include/sqfs/compressor.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/sqfs/compressor.h b/include/sqfs/compressor.h index af379e7..bdb942e 100644 --- a/include/sqfs/compressor.h +++ b/include/sqfs/compressor.h @@ -262,37 +262,37 @@ typedef enum { SQFS_COMP_FLAG_LZ4_ALL = 0x0001, /** - * @brief For LZMA, set this to select the x86 BCJ filter. + * @brief For XZ, set this to select the x86 BCJ filter. */ SQFS_COMP_FLAG_XZ_X86 = 0x0001, /** - * @brief For LZMA, set this to select the PowerPC BCJ filter. + * @brief For XZ, set this to select the PowerPC BCJ filter. */ SQFS_COMP_FLAG_XZ_POWERPC = 0x0002, /** - * @brief For LZMA, set this to select the Itanium BCJ filter. + * @brief For XZ, set this to select the Itanium BCJ filter. */ SQFS_COMP_FLAG_XZ_IA64 = 0x0004, /** - * @brief For LZMA, set this to select the ARM BCJ filter. + * @brief For XZ, set this to select the ARM BCJ filter. */ SQFS_COMP_FLAG_XZ_ARM = 0x0008, /** - * @brief For LZMA, set this to select the ARM Thumb BCJ filter. + * @brief For XZ, set this to select the ARM Thumb BCJ filter. */ SQFS_COMP_FLAG_XZ_ARMTHUMB = 0x0010, /** - * @brief For LZMA, set this to select the Sparc BCJ filter. + * @brief For XZ, set this to select the Sparc BCJ filter. */ SQFS_COMP_FLAG_XZ_SPARC = 0x0020, /** - * @brief Tell the LZMA compressor to try the "extreme" option. + * @brief Tell the XZ compressor to try the "extreme" option. */ SQFS_COMP_FLAG_XZ_EXTREME = 0x0100, -- cgit v1.2.3