aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-15 07:44:59 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-15 07:44:59 +0200
commit78e85cb1a7667c54853670d2eb09d754bcbda87d (patch)
tree9d2c468a3653c5a95694b0c30a27f48bc1ef6b17 /src/liblzma
parentFix typo in test_index.c. (diff)
downloadxz-78e85cb1a7667c54853670d2eb09d754bcbda87d.tar.xz
Fix CRC code in case --enable-small is used.
Diffstat (limited to '')
-rw-r--r--src/liblzma/check/crc32_init.c2
-rw-r--r--src/liblzma/check/crc64_init.c2
-rw-r--r--src/liblzma/common/init_decoder.c2
-rw-r--r--src/liblzma/common/init_encoder.c2
4 files changed, 2 insertions, 6 deletions
diff --git a/src/liblzma/check/crc32_init.c b/src/liblzma/check/crc32_init.c
index 996ad266..0dd402a4 100644
--- a/src/liblzma/check/crc32_init.c
+++ b/src/liblzma/check/crc32_init.c
@@ -13,7 +13,7 @@
///////////////////////////////////////////////////////////////////////////////
#ifdef HAVE_CONFIG_H
-# include "sysdefs.h"
+# include "check.h"
#endif
#ifdef WORDS_BIGENDIAN
diff --git a/src/liblzma/check/crc64_init.c b/src/liblzma/check/crc64_init.c
index b0963f65..4c91a771 100644
--- a/src/liblzma/check/crc64_init.c
+++ b/src/liblzma/check/crc64_init.c
@@ -13,7 +13,7 @@
///////////////////////////////////////////////////////////////////////////////
#ifdef HAVE_CONFIG_H
-# include "sysdefs.h"
+# include "check.h"
#endif
#ifdef WORDS_BIGENDIAN
diff --git a/src/liblzma/common/init_decoder.c b/src/liblzma/common/init_decoder.c
index 2d61b451..e319b2f8 100644
--- a/src/liblzma/common/init_decoder.c
+++ b/src/liblzma/common/init_decoder.c
@@ -25,9 +25,7 @@ lzma_init_decoder(void)
{
// So far there's no decoder-specific stuff to initialize.
-#ifdef HAVE_CHECK
lzma_init_check();
-#endif
return;
}
diff --git a/src/liblzma/common/init_encoder.c b/src/liblzma/common/init_encoder.c
index 13873aad..ec9fee6e 100644
--- a/src/liblzma/common/init_encoder.c
+++ b/src/liblzma/common/init_encoder.c
@@ -29,9 +29,7 @@ lzma_init_encoder(void)
if (already_initialized)
return;
-#ifdef HAVE_CHECK
lzma_init_check();
-#endif
#if defined(HAVE_SMALL) && defined(HAVE_ENCODER) && defined(HAVE_FILTER_LZMA)
lzma_rc_init();