Added missing LZMA_API to the C versions of the CRC functions.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 9 Dec 2007 15:14:07 +0000 (17:14 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 9 Dec 2007 15:14:07 +0000 (17:14 +0200)
The x86 assembler versions were already OK.

src/liblzma/check/crc32.c
src/liblzma/check/crc64.c

index 091e142..698cf76 100644 (file)
@@ -18,7 +18,7 @@
 // If you make any changes, do some bench marking! Seemingly unrelated
 // changes can very easily ruin the performance (and very probably is
 // very compiler dependent).
-extern uint32_t
+extern LZMA_API uint32_t
 lzma_crc32(const uint8_t *buf, size_t size, uint32_t crc)
 {
        crc = ~crc;
index e31bc7f..00fbfd5 100644 (file)
@@ -23,7 +23,7 @@
 
 
 // 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)
 {
        crc = ~crc;