aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/stream_flags_common.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-10-22 17:15:32 +0300
committerJia Tan <jiat0218@gmail.com>2023-10-31 18:44:59 +0800
commit33daad3961a4f07f3902b40f13e823e6e43e85da (patch)
treeb2dbde0181910dfebc1a8195d50ab64db839c0af /src/liblzma/common/stream_flags_common.h
parentliblzma: #define lzma_attr_visibility_hidden in common.h. (diff)
downloadxz-33daad3961a4f07f3902b40f13e823e6e43e85da.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/stream_flags_common.h')
-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];