aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/check/crc32_table.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-06-24 23:45:21 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-06-24 23:45:21 +0300
commita12b13c5f0d54c684fa8446f93fdac08ab2a716b (patch)
tree4d6ff6117f3d0f2c7c30814586e1cc4ae4bcd5b5 /src/liblzma/check/crc32_table.c
parentAdd LZMA_RET_INTERNAL1..8 to lzma_ret and use one for LZMA_TIMED_OUT. (diff)
downloadxz-a12b13c5f0d54c684fa8446f93fdac08ab2a716b.tar.xz
liblzma: Silence clang -Wmissing-variable-declarations.
Diffstat (limited to '')
-rw-r--r--src/liblzma/check/crc32_table.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/liblzma/check/crc32_table.c b/src/liblzma/check/crc32_table.c
index 368874eb..b11762ae 100644
--- a/src/liblzma/check/crc32_table.c
+++ b/src/liblzma/check/crc32_table.c
@@ -12,6 +12,9 @@
#include "common.h"
+// Having the declaration here silences clang -Wmissing-variable-declarations.
+extern const uint32_t lzma_crc32_table[8][256];
+
#ifdef WORDS_BIGENDIAN
# include "crc32_table_be.h"
#else