From 41113fe30a47f6fd3e30cb4494dd538e86212edf Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 22 Oct 2023 17:15:32 +0300 Subject: liblzma: Use lzma_attr_visibility_hidden on private extern declarations. These variables are internal to liblzma and not exposed in the API. --- src/liblzma/lz/lz_encoder_hash.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/liblzma/lz') diff --git a/src/liblzma/lz/lz_encoder_hash.h b/src/liblzma/lz/lz_encoder_hash.h index fb15c581..4d9971ae 100644 --- a/src/liblzma/lz/lz_encoder_hash.h +++ b/src/liblzma/lz/lz_encoder_hash.h @@ -17,6 +17,7 @@ // This is to make liblzma produce the same output on big endian // systems that it does on little endian systems. lz_encoder.c // takes care of including the actual table. + lzma_attr_visibility_hidden extern const uint32_t lzma_lz_hash_table[256]; # define hash_table lzma_lz_hash_table #else -- cgit v1.2.3