diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2019-06-24 23:45:21 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2019-12-31 22:26:38 +0200 |
commit | 44eb961f2a51d02420d017bc5ff470360663650c (patch) | |
tree | 39c66fadc8792db43cefc93e05c964540ca90f7b /src/liblzma | |
parent | xz: Silence a warning from clang -Wsign-conversion in main.c. (diff) | |
download | xz-44eb961f2a51d02420d017bc5ff470360663650c.tar.xz |
liblzma: Silence clang -Wmissing-variable-declarations.
Diffstat (limited to 'src/liblzma')
-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 |