diff options
author | Isaac Dunham <idunham@lavabit.com> | 2013-07-17 17:25:07 -0500 |
---|---|---|
committer | Isaac Dunham <idunham@lavabit.com> | 2013-07-17 17:25:07 -0500 |
commit | 9641a3c6c5447c76f56cefd1844a4e545c015822 (patch) | |
tree | 29de575e151a93d9a270cb69c4551a485bd2deea /toys/lsb/dmesg.c | |
parent | 72756670274dac9562b869761c50c59ed57b7295 (diff) | |
download | toybox-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 'toys/lsb/dmesg.c')
0 files changed, 0 insertions, 0 deletions