From 329c272d501e88793dda5540358d55c12428d194 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 9 Dec 2007 17:14:07 +0200 Subject: Added missing LZMA_API to the C versions of the CRC functions. The x86 assembler versions were already OK. --- src/liblzma/check/crc32.c | 2 +- src/liblzma/check/crc64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/liblzma/check/crc32.c b/src/liblzma/check/crc32.c index 091e1422..698cf768 100644 --- a/src/liblzma/check/crc32.c +++ b/src/liblzma/check/crc32.c @@ -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; diff --git a/src/liblzma/check/crc64.c b/src/liblzma/check/crc64.c index e31bc7ff..00fbfd53 100644 --- a/src/liblzma/check/crc64.c +++ b/src/liblzma/check/crc64.c @@ -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; -- cgit v1.2.3