From: mgrice Date: Thu, 29 Aug 2019 19:32:15 +0000 (-0700) Subject: fix warning: always_inline function might not be inlinable X-Git-Tag: v1.4.4~1^2~46^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1756%2Fhead;p=thirdparty%2Fzstd.git fix warning: always_inline function might not be inlinable --- diff --git a/lib/common/zstd_internal.h b/lib/common/zstd_internal.h index 74769d1d2..fb6246a1e 100644 --- a/lib/common/zstd_internal.h +++ b/lib/common/zstd_internal.h @@ -191,11 +191,9 @@ static const U32 OF_defaultNormLog = OF_DEFAULTNORMLOG; /*-******************************************* * Shared functions to include for inlining *********************************************/ -FORCE_INLINE_ATTR static void ZSTD_copy8(void* dst, const void* src) { memcpy(dst, src, 8); } #define COPY8(d,s) { ZSTD_copy8(d,s); d+=8; s+=8; } -FORCE_INLINE_ATTR static void ZSTD_copy16(void* dst, const void* src) { memcpy(dst, src, 16); } #define COPY16(d,s) { ZSTD_copy16(d,s); d+=16; s+=16; }