xref: /freebsd/contrib/xz/src/liblzma/check/crc64_table.c (revision 0bf56da32d83fbd3b5db8d6c72cd1e7cc26fbc66)
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