Add a separate internal function to initialize the CRC32
commit0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 8 Feb 2009 16:24:50 +0000 (8 18:24 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 8 Feb 2009 16:24:50 +0000 (8 18:24 +0200)
treeda1e0548876b37f0100390e36593097b6fc99c20
parentae1ad9af54210c9a2be336b1316532da5071516c
Add a separate internal function to initialize the CRC32
table, which is used also by LZ encoder. This was needed
because calling lzma_crc32() and ignoring the result is
a no-op due to lzma_attr_pure.
src/liblzma/check/check.h
src/liblzma/check/crc32_small.c
src/liblzma/lz/lz_encoder.c