Tests: Fix memory leaks in test_block_header.
[xz/debian.git] / src / liblzma / check / crc32_table.c
blobb11762ae0ac7ef272040b02cba85014416ee9aa2
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file crc32_table.c
4 /// \brief Precalculated CRC32 table with correct endianness
5 //
6 // Author: Lasse Collin
7 //
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
11 ///////////////////////////////////////////////////////////////////////////////
13 #include "common.h"
15 // Having the declaration here silences clang -Wmissing-variable-declarations.
16 extern const uint32_t lzma_crc32_table[8][256];
18 #ifdef WORDS_BIGENDIAN
19 # include "crc32_table_be.h"
20 #else
21 # include "crc32_table_le.h"
22 #endif