From: Victor Zhang Date: Tue, 7 Jan 2025 18:06:08 +0000 (-0800) Subject: Merge pull request #4218 from facebook/externC X-Git-Tag: v1.5.7^2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a610550e2c05cd08842e173bbeb830f596fdfaeb;p=thirdparty%2Fzstd.git Merge pull request #4218 from facebook/externC Move #includes out of `extern "C"` blocks --- a610550e2c05cd08842e173bbeb830f596fdfaeb diff --cc lib/compress/zstd_fast.h index f7fbf4f68,8bbed8f97..216821ac3 --- a/lib/compress/zstd_fast.h +++ b/lib/compress/zstd_fast.h @@@ -22,17 -18,13 +18,13 @@@ void ZSTD_fillHashTable(ZSTD_MatchState void const* end, ZSTD_dictTableLoadMethod_e dtlm, ZSTD_tableFillPurpose_e tfp); size_t ZSTD_compressBlock_fast( - ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], + ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], void const* src, size_t srcSize); size_t ZSTD_compressBlock_fast_dictMatchState( - ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], + ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], void const* src, size_t srcSize); size_t ZSTD_compressBlock_fast_extDict( - ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], + ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], void const* src, size_t srcSize); - #if defined (__cplusplus) - } - #endif - #endif /* ZSTD_FAST_H */