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
@@ -11,10 +11,6 @@
#ifndef ZSTD_OPT_H
#define ZSTD_OPT_H
#if defined (__cplusplus)
extern "C" {
#endif
#include "zstd_compress_internal.h"
#if !defined(ZSTD_EXCLUDE_BTLAZY2_BLOCK_COMPRESSOR) \
@@ -73,8 +69,4 @@ size_t ZSTD_compressBlock_btultra2(
#define ZSTD_COMPRESSBLOCK_BTULTRA2 NULL
#endif
#if defined (__cplusplus)
}
#endif
#endif /* ZSTD_OPT_H */