OSDN Git Service

xzcat: more cleanup and some shrinking.
authorIsaac Dunham <idunham@lavabit.com>
Sat, 13 Apr 2013 01:08:47 +0000 (20:08 -0500)
committerIsaac Dunham <idunham@lavabit.com>
Sat, 13 Apr 2013 01:08:47 +0000 (20:08 -0500)
commit4ffface11f7857683ddb1f935fb05809821458ab
treea4d16c824fddc8447099b0124dd97598f96659fb
parentff8b9ed551bdf942d20553ec6f0b687ba04e0ed9
xzcat: more cleanup and some shrinking.

-drop __always_inline (c. 1.5k of binary size),
-remove the xz_dec_bcj_end and memzero macros
(memeq is left because of negative returns),
-disable XZ_DEC_SINGLE and XZ_DEC_PREALLOC, since we aren't using them.
(160 bytes)
-Merge xz_dec_lzma2_end into xz_dec_end
-Move xz_crc32 to where it's defined.
(That does not seem to be duplicated elsewhere in toybox.)
toys/pending/xzcat.c