summaryrefslogtreecommitdiffstats
path: root/liblzma/simple/ia64.c
diff options
context:
space:
mode:
authorliblzma upstream <xz-devel@tukaani.org>2018-04-29 16:00:06 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-06 14:24:54 (GMT)
commit352b8fa70d18ff1664cd8b22f42cf980a976ae4d (patch)
tree4f1267f96f542178e35ae60f0f27ef19a2b341ac /liblzma/simple/ia64.c
parent897b790d57f9c114adf1e0374b4a004ba6a8ec99 (diff)
downloadCMake-352b8fa70d18ff1664cd8b22f42cf980a976ae4d.zip
CMake-352b8fa70d18ff1664cd8b22f42cf980a976ae4d.tar.gz
CMake-352b8fa70d18ff1664cd8b22f42cf980a976ae4d.tar.bz2
liblzma 2018-04-29 (b5be61cc)
Code extracted from: https://git.tukaani.org/xz.git at commit b5be61cc06088bb07f488f9baf7d447ff47b37c1 (v5.2.4).
Diffstat (limited to 'liblzma/simple/ia64.c')
-rw-r--r--liblzma/simple/ia64.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/liblzma/simple/ia64.c b/liblzma/simple/ia64.c
index ce3692b..580529e 100644
--- a/liblzma/simple/ia64.c
+++ b/liblzma/simple/ia64.c
@@ -15,7 +15,7 @@
static size_t
-ia64_code(lzma_simple *simple lzma_attribute((__unused__)),
+ia64_code(void *simple lzma_attribute((__unused__)),
uint32_t now_pos, bool is_encoder,
uint8_t *buffer, size_t size)
{
@@ -86,7 +86,7 @@ ia64_code(lzma_simple *simple lzma_attribute((__unused__)),
static lzma_ret
-ia64_coder_init(lzma_next_coder *next, lzma_allocator *allocator,
+ia64_coder_init(lzma_next_coder *next, const lzma_allocator *allocator,
const lzma_filter_info *filters, bool is_encoder)
{
return lzma_simple_coder_init(next, allocator, filters,
@@ -96,7 +96,8 @@ ia64_coder_init(lzma_next_coder *next, lzma_allocator *allocator,
extern lzma_ret
lzma_simple_ia64_encoder_init(lzma_next_coder *next,
- lzma_allocator *allocator, const lzma_filter_info *filters)
+ const lzma_allocator *allocator,
+ const lzma_filter_info *filters)
{
return ia64_coder_init(next, allocator, filters, true);
}
@@ -104,7 +105,8 @@ lzma_simple_ia64_encoder_init(lzma_next_coder *next,
extern lzma_ret
lzma_simple_ia64_decoder_init(lzma_next_coder *next,
- lzma_allocator *allocator, const lzma_filter_info *filters)
+ const lzma_allocator *allocator,
+ const lzma_filter_info *filters)
{
return ia64_coder_init(next, allocator, filters, false);
}