]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed gcc warning: always_inline function might not be inlinable
authorinikep <inikep@gmail.com>
Mon, 25 Jul 2016 19:17:45 +0000 (21:17 +0200)
committerinikep <inikep@gmail.com>
Mon, 25 Jul 2016 19:17:45 +0000 (21:17 +0200)
lib/legacy/zstd_v07.c
lib/legacy/zstd_v07.h

index b6f604d23a8705cff032a45373bcb8d3f97779b5..62213997fa6904d906442d57ca462d946fa510cd 100644 (file)
@@ -3891,7 +3891,7 @@ size_t ZSTDv07_decodeLiteralsBlock(ZSTDv07_DCtx* dctx,
     @return : nb bytes read from src,
               or an error code if it fails, testable with ZSTDv07_isError()
 */
-FORCE_INLINE size_t ZSTDv07_buildSeqTable(FSEv07_DTable* DTable, U32 type, U32 max, U32 maxLog,
+size_t ZSTDv07_buildSeqTable(FSEv07_DTable* DTable, U32 type, U32 max, U32 maxLog,
                                  const void* src, size_t srcSize,
                                  const S16* defaultNorm, U32 defaultLog, U32 flagRepeatTable)
 {
index caa1f0c16d59341aa0fc78923f180aec150bd37f..162566cd3a99c1eadcba1c1a094d2682e0e9287a 100644 (file)
@@ -131,17 +131,6 @@ ZSTDLIB_API size_t ZSTDv07_getFrameParams(ZSTDv07_frameParams* fparamsPtr, const
 
 
 
-/* ***************************************************************
-*  Compiler specifics
-*****************************************************************/
-/* ZSTDv07_DLL_EXPORT :
-*  Enable exporting of functions when building a Windows DLL */
-#if defined(_WIN32) && defined(ZSTDv07_DLL_EXPORT) && (ZSTDv07_DLL_EXPORT==1)
-#  define ZSTDLIB_API __declspec(dllexport)
-#else
-#  define ZSTDLIB_API
-#endif
-
 
 /* *************************************
 *  Streaming functions