aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2018-10-23 11:34:15 +0000
committerMartin Matuska <mm@FreeBSD.org>2018-10-23 11:34:15 +0000
commit6e3f395bc8b6e22e2cc8068c51179a9ace8011fc (patch)
treeb6974e3c054c487e60e48b1595cf80bd874b0564
parent30bb24b1cb0751cbbb2b53d60e3e4f5bdbe58abb (diff)
downloadsrc-6e3f395bc8b6e22e2cc8068c51179a9ace8011fc.tar.gz
src-6e3f395bc8b6e22e2cc8068c51179a9ace8011fc.zip
Update vendor/libarchive/dist to git 58ae9e02093aa47dc6eb27a66d4e95b05e9e672e
Relevant ventor changes: RAR5 reader: declare some constants static
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=339641
-rw-r--r--libarchive/archive_read_support_format_rar5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libarchive/archive_read_support_format_rar5.c b/libarchive/archive_read_support_format_rar5.c
index 9f121a1bed84..97b65517db55 100644
--- a/libarchive/archive_read_support_format_rar5.c
+++ b/libarchive/archive_read_support_format_rar5.c
@@ -75,10 +75,10 @@
*
* The array itself is decrypted in `rar5_init` function. */
-unsigned char rar5_signature[] = { 243, 192, 211, 128, 187, 166, 160, 161 };
-const ssize_t rar5_signature_size = sizeof(rar5_signature);
-const size_t g_unpack_buf_chunk_size = 1024;
-const size_t g_unpack_window_size = 0x20000;
+static unsigned char rar5_signature[] = { 243, 192, 211, 128, 187, 166, 160, 161 };
+static const ssize_t rar5_signature_size = sizeof(rar5_signature);
+static const size_t g_unpack_buf_chunk_size = 1024;
+static const size_t g_unpack_window_size = 0x20000;
struct file_header {
ssize_t bytes_remaining;