xref: /freebsd/contrib/xz/src/liblzma/check/crc64_table.c (revision 8881d206f4e68b564c2c5f50fc717086fc3e827a)
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       crc64_table.c
4 /// \brief      Precalculated CRC64 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.
10 //
11 ///////////////////////////////////////////////////////////////////////////////
12 
13 #include "common.h"
14 
15 // Having the declaration here silences clang -Wmissing-variable-declarations.
16 extern const uint64_t lzma_crc64_table[4][256];
17 
18 #ifdef WORDS_BIGENDIAN
19 #	include "crc64_table_be.h"
20 #else
21 #	include "crc64_table_le.h"
22 #endif
23