1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

Remove unnecessary extern C declarations from programs/ and contrib/

This commit is contained in:
Victor Zhang
2024-12-19 16:20:23 -08:00
parent d0d5ce4c00
commit c727d5cd67
9 changed files with 8 additions and 58 deletions

View File

@ -31,10 +31,6 @@
#define MAX_IO_JOBS (10)
#if defined (__cplusplus)
extern "C" {
#endif
typedef struct {
/* These struct fields should be set only on creation and not changed afterwards */
POOL_ctx* threadPool;
@ -196,8 +192,4 @@ FILE* AIO_ReadPool_getFile(const ReadPoolCtx_t *ctx);
* Closes the current set file. Waits for all current enqueued tasks to complete and resets state. */
int AIO_ReadPool_closeFile(ReadPoolCtx_t *ctx);
#if defined (__cplusplus)
}
#endif
#endif /* ZSTD_FILEIO_ASYNCIO_H */