diff --git a/lib/common/entropy_common.c b/lib/common/entropy_common.c index e2ec694f..0d27265a 100644 --- a/lib/common/entropy_common.c +++ b/lib/common/entropy_common.c @@ -203,6 +203,7 @@ size_t FSE_readNCount_body(short* normalizedCounter, unsigned* maxSVPtr, unsigne return ip-istart; } +/* Avoids the FORCE_INLINE of the _body() function. */ static size_t FSE_readNCount_body_default( short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, const void* headerBuffer, size_t hbSize) @@ -319,6 +320,7 @@ FORCE_INLINE_TEMPLATE size_t HUF_readStats_body(BYTE* huffWeight, size_t hwSize, return iSize+1; } +/* Avoids the FORCE_INLINE of the _body() function. */ static size_t HUF_readStats_body_default(BYTE* huffWeight, size_t hwSize, U32* rankStats, U32* nbSymbolsPtr, U32* tableLogPtr, const void* src, size_t srcSize, diff --git a/lib/common/fse_decompress.c b/lib/common/fse_decompress.c index 64693024..53b248e3 100644 --- a/lib/common/fse_decompress.c +++ b/lib/common/fse_decompress.c @@ -353,6 +353,7 @@ FORCE_INLINE_TEMPLATE size_t FSE_decompress_wksp_body( } } +/* Avoids the FORCE_INLINE of the _body() function. */ static size_t FSE_decompress_wksp_body_default(void* dst, size_t dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize) { return FSE_decompress_wksp_body(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, 0); diff --git a/lib/decompress/zstd_decompress_block.c b/lib/decompress/zstd_decompress_block.c index 4777a267..2a8d4775 100644 --- a/lib/decompress/zstd_decompress_block.c +++ b/lib/decompress/zstd_decompress_block.c @@ -484,6 +484,7 @@ void ZSTD_buildFSETable_body(ZSTD_seqSymbol* dt, } } +/* Avoids the FORCE_INLINE of the _body() function. */ static void ZSTD_buildFSETable_body_default(ZSTD_seqSymbol* dt, const short* normalizedCounter, unsigned maxSymbolValue, const U32* baseValue, const U32* nbAdditionalBits,