xzcat: remove XZ_(PREALLOC|SINGLE), inline xz_dec_bcj_create
authorIsaac Dunham <idunham@lavabit.com>
Wed, 17 Jul 2013 22:25:07 +0000 (17:25 -0500)
committerIsaac Dunham <idunham@lavabit.com>
Wed, 17 Jul 2013 22:25:07 +0000 (17:25 -0500)
commit9641a3c6c5447c76f56cefd1844a4e545c015822
tree29de575e151a93d9a270cb69c4551a485bd2deea
parent72756670274dac9562b869761c50c59ed57b7295
xzcat: remove XZ_(PREALLOC|SINGLE), inline xz_dec_bcj_create

Because we only use XZ_DYNALLOC, there's a bunch of dead code.
This patch removes the #ifdef's and if()s associated with support for
multiple modes.
single_call was only used to store the mode; it is no longer needed.
A little bit of reorganization was needed to reduce the number of prototypes.
Documentation associated with dead code was dropped.

There are still some relics of multiple modes in the continued presence
of "XZ_DYNALLOC" and xz_mode.

Additionally, I inlined xz_dec_bcj_create; it was called once.

This loses about 125 lines, mostly comments.
toys/pending/xzcat.c