1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

liblzma: Remove lzma_lz_decoder_uncompressed() as it's now unused.

This commit is contained in:
Lasse Collin 2022-11-28 10:51:03 +02:00
parent cee8320646
commit 5f22bd2d37
2 changed files with 0 additions and 17 deletions

View file

@ -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);
}

View file

@ -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 //