aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Jansen <hansjansen162@outlook.com>2023-10-12 19:07:50 +0200
committerJia Tan <jiat0218@gmail.com>2023-10-13 20:54:05 +0800
commit233885a437f8b55a5c8442984ebc0aaa579e92de (patch)
treeef1c54ff46a79c3a4f87accfdfb185f5497260ee
parentCI: Bump and ref actions by commit SHA in windows-ci.yml (diff)
downloadxz-233885a437f8b55a5c8442984ebc0aaa579e92de.tar.xz
liblzma: Rename crc_macros.h to crc_common.h.
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/liblzma/check/Makefile.inc2
-rw-r--r--src/liblzma/check/crc32_fast.c2
-rw-r--r--src/liblzma/check/crc64_fast.c2
-rw-r--r--src/liblzma/check/crc_common.h (renamed from src/liblzma/check/crc_macros.h)2
5 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e0af3e15..ecbb7b2d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
diff --git a/src/liblzma/check/Makefile.inc b/src/liblzma/check/Makefile.inc
index dc011a3f..1b016356 100644
--- a/src/liblzma/check/Makefile.inc
+++ b/src/liblzma/check/Makefile.inc
@@ -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
diff --git a/src/liblzma/check/crc32_fast.c b/src/liblzma/check/crc32_fast.c
index eed73505..fa53e99b 100644
--- a/src/liblzma/check/crc32_fast.c
+++ b/src/liblzma/check/crc32_fast.c
@@ -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
diff --git a/src/liblzma/check/crc64_fast.c b/src/liblzma/check/crc64_fast.c
index 62c2c9bb..adca0584 100644
--- a/src/liblzma/check/crc64_fast.c
+++ b/src/liblzma/check/crc64_fast.c
@@ -77,7 +77,7 @@
#ifdef CRC_GENERIC
-#include "crc_macros.h"
+#include "crc_common.h"
#ifdef WORDS_BIGENDIAN
diff --git a/src/liblzma/check/crc_macros.h b/src/liblzma/check/crc_common.h
index a7c21b76..f3ee205d 100644
--- a/src/liblzma/check/crc_macros.h
+++ b/src/liblzma/check/crc_common.h
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////
//
-/// \file crc_macros.h
+/// \file crc_common.h
/// \brief Some endian-dependent macros for CRC32 and CRC64
//
// Author: Lasse Collin