liblzma: Silence clang -Wmissing-variable-declarations.

This commit is contained in:
Lasse Collin 2019-06-24 23:45:21 +03:00
parent 267afcd995
commit 44eb961f2a
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