mirror of https://git.tukaani.org/xz.git
liblzma: Remove lzma_lz_decoder_uncompressed() as it's now unused.
This commit is contained in:
parent
cee8320646
commit
5f22bd2d37
|
@ -302,17 +302,3 @@ lzma_lz_decoder_memusage(size_t dictionary_size)
|
||||||
{
|
{
|
||||||
return sizeof(lzma_coder) + (uint64_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);
|
|
||||||
}
|
|
||||||
|
|
|
@ -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 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 //
|
// Inline functions //
|
||||||
|
|
Loading…
Reference in New Issue