diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-28 10:51:03 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-28 10:51:03 +0200 |
commit | 5f22bd2d37e3bd01a5d701b51750eb51f09c11bf (patch) | |
tree | 02f741928c99e4e7570ddf889663795871016a94 /src/liblzma/lz | |
parent | liblzma: Use LZMA1EXT feature in lzma_microlzma_decoder(). (diff) | |
download | xz-5f22bd2d37e3bd01a5d701b51750eb51f09c11bf.tar.xz |
liblzma: Remove lzma_lz_decoder_uncompressed() as it's now unused.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/lz/lz_decoder.c | 14 | ||||
-rw-r--r-- | src/liblzma/lz/lz_decoder.h | 3 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/liblzma/lz/lz_decoder.c b/src/liblzma/lz/lz_decoder.c index 4a62db76..06c95c11 100644 --- a/src/liblzma/lz/lz_decoder.c +++ b/src/liblzma/lz/lz_decoder.c @@ -302,17 +302,3 @@ lzma_lz_decoder_memusage(size_t dictionary_size) { return sizeof(lzma_coder) + (uint64_t)(dictionary_size); } - - -extern void -lzma_lz_decoder_uncompressed(void *coder_ptr, lzma_vli uncompressed_size, - bool allow_eopm) -{ - lzma_coder *coder = coder_ptr; - - if (uncompressed_size == LZMA_VLI_UNKNOWN) - allow_eopm = true; - - coder->lz.set_uncompressed(coder->lz.coder, uncompressed_size, - allow_eopm); -} diff --git a/src/liblzma/lz/lz_decoder.h b/src/liblzma/lz/lz_decoder.h index 8e68ac8a..ad80d4dd 100644 --- a/src/liblzma/lz/lz_decoder.h +++ b/src/liblzma/lz/lz_decoder.h @@ -93,9 +93,6 @@ extern lzma_ret lzma_lz_decoder_init(lzma_next_coder *next, extern uint64_t lzma_lz_decoder_memusage(size_t dictionary_size); -extern void lzma_lz_decoder_uncompressed( - void *coder, lzma_vli uncompressed_size, bool allow_eopm); - ////////////////////// // Inline functions // |