]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: Rename crc_macros.h to crc_common.h.
authorHans Jansen <hansjansen162@outlook.com>
Thu, 12 Oct 2023 17:07:50 +0000 (19:07 +0200)
committerJia Tan <jiat0218@gmail.com>
Fri, 13 Oct 2023 12:54:05 +0000 (20:54 +0800)
CMakeLists.txt
src/liblzma/check/Makefile.inc
src/liblzma/check/crc32_fast.c
src/liblzma/check/crc64_fast.c
src/liblzma/check/crc_common.h [moved from src/liblzma/check/crc_macros.h with 96% similarity]

index e0af3e15ac78d4fdb6b96506ff805d8e5315f9ba..ecbb7b2d1b77923fe086387c63412eb7d006e8eb 100644 (file)
@@ -217,7 +217,7 @@ add_library(liblzma
     src/liblzma/api/lzma/vli.h
     src/liblzma/check/check.c
     src/liblzma/check/check.h
-    src/liblzma/check/crc_macros.h
+    src/liblzma/check/crc_common.h
     src/liblzma/common/block_util.c
     src/liblzma/common/common.c
     src/liblzma/common/common.h
index dc011a3fffb3607a47eb1301bde76283aac2a3d4..1b01635655ef28c74ff0fae0b71935852a7fb3c4 100644 (file)
@@ -12,7 +12,7 @@ EXTRA_DIST += \
 liblzma_la_SOURCES += \
        check/check.c \
        check/check.h \
-       check/crc_macros.h
+       check/crc_common.h
 
 if COND_CHECK_CRC32
 if COND_SMALL
index eed7350582e4a53ca1071f179e5d80fb4414b660..fa53e99bbb513905904ea6cfcf7cea04105b54f2 100644 (file)
@@ -17,7 +17,7 @@
 ///////////////////////////////////////////////////////////////////////////////
 
 #include "check.h"
-#include "crc_macros.h"
+#include "crc_common.h"
 
 
 // If you make any changes, do some benchmarking! Seemingly unrelated
index 62c2c9bb7f50a10c2a8d4cd7dd5c6471e4d2d47e..adca0584ebf8d4203d4b669c2e67bfc92edb143a 100644 (file)
@@ -77,7 +77,7 @@
 
 #ifdef CRC_GENERIC
 
-#include "crc_macros.h"
+#include "crc_common.h"
 
 
 #ifdef WORDS_BIGENDIAN
similarity index 96%
rename from src/liblzma/check/crc_macros.h
rename to src/liblzma/check/crc_common.h
index a7c21b765dca908f960906e594e0297bd78460a4..f3ee205deee29c97b9784b3ef8a2227bb7fae507 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 //
-/// \file       crc_macros.h
+/// \file       crc_common.h
 /// \brief      Some endian-dependent macros for CRC32 and CRC64
 //
 //  Author:     Lasse Collin