mirror of https://git.tukaani.org/xz.git
Added missing LZMA_API to the C versions of the CRC functions.
The x86 assembler versions were already OK.
This commit is contained in:
parent
c90daf86ce
commit
329c272d50
|
@ -18,7 +18,7 @@
|
||||||
// If you make any changes, do some bench marking! Seemingly unrelated
|
// If you make any changes, do some bench marking! Seemingly unrelated
|
||||||
// changes can very easily ruin the performance (and very probably is
|
// changes can very easily ruin the performance (and very probably is
|
||||||
// very compiler dependent).
|
// very compiler dependent).
|
||||||
extern uint32_t
|
extern LZMA_API uint32_t
|
||||||
lzma_crc32(const uint8_t *buf, size_t size, uint32_t crc)
|
lzma_crc32(const uint8_t *buf, size_t size, uint32_t crc)
|
||||||
{
|
{
|
||||||
crc = ~crc;
|
crc = ~crc;
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
// See comments in crc32.c.
|
// See comments in crc32.c.
|
||||||
extern uint64_t
|
extern LZMA_API uint64_t
|
||||||
lzma_crc64(const uint8_t *buf, size_t size, uint64_t crc)
|
lzma_crc64(const uint8_t *buf, size_t size, uint64_t crc)
|
||||||
{
|
{
|
||||||
crc = ~crc;
|
crc = ~crc;
|
||||||
|
|
Loading…
Reference in New Issue