aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIsaac Dunham <idunham@lavabit.com>2013-07-17 17:25:07 -0500
committerIsaac Dunham <idunham@lavabit.com>2013-07-17 17:25:07 -0500
commit9641a3c6c5447c76f56cefd1844a4e545c015822 (patch)
tree29de575e151a93d9a270cb69c4551a485bd2deea /scripts
parent72756670274dac9562b869761c50c59ed57b7295 (diff)
downloadtoybox-9641a3c6c5447c76f56cefd1844a4e545c015822.tar.gz
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.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions