Merge pull request #4218 from facebook/externC

Move #includes out of `extern "C"` blocks
This commit is contained in:
Victor Zhang
2025-01-07 10:06:08 -08:00
committed by GitHub
37 changed files with 157 additions and 304 deletions
-8
View File
@@ -26,10 +26,6 @@
#include "../common/bits.h" /* ZSTD_highbit32, ZSTD_NbCommonBytes */
#include "zstd_preSplit.h" /* ZSTD_SLIPBLOCK_WORKSPACESIZE */
#if defined (__cplusplus)
extern "C" {
#endif
/*-*************************************
* Constants
***************************************/
@@ -1503,10 +1499,6 @@ MEM_STATIC int ZSTD_comparePackedTags(size_t packedTag1, size_t packedTag2) {
return tag1 == tag2;
}
#if defined (__cplusplus)
}
#endif
/* ===============================================================
* Shared internal declarations
* These prototypes may be called from sources not in lib/compress