1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

liblzma: Silence clang -Wmissing-variable-declarations.

This commit is contained in:
Lasse Collin 2019-06-24 23:45:21 +03:00
parent 1b4675cebf
commit a12b13c5f0
2 changed files with 6 additions and 0 deletions

View file

@ -12,6 +12,9 @@
#include "common.h" #include "common.h"
// Having the declaration here silences clang -Wmissing-variable-declarations.
extern const uint32_t lzma_crc32_table[8][256];
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
# include "crc32_table_be.h" # include "crc32_table_be.h"
#else #else

View file

@ -12,6 +12,9 @@
#include "common.h" #include "common.h"
// Having the declaration here silences clang -Wmissing-variable-declarations.
extern const uint64_t lzma_crc64_table[4][256];
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
# include "crc64_table_be.h" # include "crc64_table_be.h"
#else #else