diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2024-02-06 01:15:14 +0300 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-02-09 19:18:11 +0300 |
commit | d8dda255108e56bd45c714be6b3a479cb49823c6 (patch) | |
tree | a3da500650f69164b8a2e78c64b1e36dce79c50b /contrib/libs/lzma/liblzma/check/crc64_table.c | |
parent | c29b5e57643acd331dfdacd1e3ab836b6e4b018d (diff) | |
download | ydb-d8dda255108e56bd45c714be6b3a479cb49823c6.tar.gz |
Update contrib/libs/lzma to 5.4.6
Diffstat (limited to 'contrib/libs/lzma/liblzma/check/crc64_table.c')
-rw-r--r-- | contrib/libs/lzma/liblzma/check/crc64_table.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/libs/lzma/liblzma/check/crc64_table.c b/contrib/libs/lzma/liblzma/check/crc64_table.c index 307846ab14..bac9301aa4 100644 --- a/contrib/libs/lzma/liblzma/check/crc64_table.c +++ b/contrib/libs/lzma/liblzma/check/crc64_table.c @@ -18,10 +18,8 @@ #if (defined(__x86_64__) && defined(__SSSE3__) \ && defined(__SSE4_1__) && defined(__PCLMUL__)) \ || (defined(__e2k__) && __iset__ >= 6) -// No table needed but something has to be exported to keep some toolchains -// happy. Also use a declaration to silence compiler warnings. -extern const char lzma_crc64_dummy; -const char lzma_crc64_dummy; +// No table needed. Use a typedef to avoid an empty translation unit. +typedef void lzma_crc64_dummy; #else // Having the declaration here silences clang -Wmissing-variable-declarations. |