aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-10-22 17:15:32 +0300
committerLasse Collin <lasse.collin@tukaani.org>2023-10-30 18:06:25 +0200
commit41113fe30a47f6fd3e30cb4494dd538e86212edf (patch)
treef368de671e2acd7d2eacedb0b1c463fa0da93f2f /src/liblzma/common
parentliblzma: #define lzma_attr_visibility_hidden in common.h. (diff)
downloadxz-41113fe30a47f6fd3e30cb4494dd538e86212edf.tar.xz
liblzma: Use lzma_attr_visibility_hidden on private extern declarations.
These variables are internal to liblzma and not exposed in the API.
Diffstat (limited to 'src/liblzma/common')
-rw-r--r--src/liblzma/common/stream_flags_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/liblzma/common/stream_flags_common.h b/src/liblzma/common/stream_flags_common.h
index 9f3122a3..84e96ba1 100644
--- a/src/liblzma/common/stream_flags_common.h
+++ b/src/liblzma/common/stream_flags_common.h
@@ -18,7 +18,10 @@
/// Size of the Stream Flags field
#define LZMA_STREAM_FLAGS_SIZE 2
+lzma_attr_visibility_hidden
extern const uint8_t lzma_header_magic[6];
+
+lzma_attr_visibility_hidden
extern const uint8_t lzma_footer_magic[2];