diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2019-06-24 23:45:21 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2019-06-24 23:45:21 +0300 |
commit | a12b13c5f0d54c684fa8446f93fdac08ab2a716b (patch) | |
tree | 4d6ff6117f3d0f2c7c30814586e1cc4ae4bcd5b5 /src | |
parent | Add LZMA_RET_INTERNAL1..8 to lzma_ret and use one for LZMA_TIMED_OUT. (diff) | |
download | xz-a12b13c5f0d54c684fa8446f93fdac08ab2a716b.tar.xz |
liblzma: Silence clang -Wmissing-variable-declarations.
Diffstat (limited to 'src')
-rw-r--r-- | src/liblzma/check/crc32_table.c | 3 | ||||
-rw-r--r-- | src/liblzma/check/crc64_table.c | 3 |
2 files changed, 6 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 diff --git a/src/liblzma/check/crc64_table.c b/src/liblzma/check/crc64_table.c index 1fbcd947..7560eb0a 100644 --- a/src/liblzma/check/crc64_table.c +++ b/src/liblzma/check/crc64_table.c @@ -12,6 +12,9 @@ #include "common.h" +// Having the declaration here silences clang -Wmissing-variable-declarations. +extern const uint64_t lzma_crc64_table[4][256]; + #ifdef WORDS_BIGENDIAN # include "crc64_table_be.h" #else |