Skip to content

Commit 188fd69

Browse files
committed
Zstd: Add necessary style changes to zstd-in.c
Dropping in `zstd-in.c` while updating Zstandard to version 1.5.7 caused checkstyle to complain about tabs vs. spaces. This commit fixes that. Signed-off-by: Alexander Moch <mail@alexmoch.com>
1 parent 55c1557 commit 188fd69

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

module/zstd/zstd-in.c

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// SPDX-License-Identifier: BSD-3-Clause
2-
/**
2+
/*
33
* \file zstd.c
44
* Single-file Zstandard library.
55
*
66
* Generate using:
77
* \code
8-
* python combine.py -r ../../lib -x legacy/zstd_legacy.h -o zstd.c zstd-in.c
8+
* python combine.py -r ../../lib -x legacy/zstd_legacy.h -o zstd.c zstd-in.c
99
* \endcode
1010
*/
1111
/*
@@ -35,25 +35,25 @@
3535
*
3636
* Note: multithreading is enabled for all platforms apart from Emscripten.
3737
*/
38-
#define DEBUGLEVEL 0
39-
#define MEM_MODULE
40-
#undef XXH_NAMESPACE
41-
#define XXH_NAMESPACE ZSTD_
42-
#undef XXH_PRIVATE_API
43-
#define XXH_PRIVATE_API
44-
#undef XXH_INLINE_ALL
45-
#define XXH_INLINE_ALL
46-
#define ZSTD_LEGACY_SUPPORT 0
47-
#ifndef __EMSCRIPTEN__
48-
#define ZSTD_MULTITHREAD
38+
#define DEBUGLEVEL 0
39+
#define MEM_MODULE
40+
#undef XXH_NAMESPACE
41+
#define XXH_NAMESPACE ZSTD_
42+
#undef XXH_PRIVATE_API
43+
#define XXH_PRIVATE_API
44+
#undef XXH_INLINE_ALL
45+
#define XXH_INLINE_ALL
46+
#define ZSTD_LEGACY_SUPPORT 0
47+
#ifndef __EMSCRIPTEN__
48+
#define ZSTD_MULTITHREAD
4949
#endif
50-
#define ZSTD_TRACE 0
50+
#define ZSTD_TRACE 0
5151
/* TODO: Can't amalgamate ASM function */
52-
#define ZSTD_DISABLE_ASM 1
52+
#define ZSTD_DISABLE_ASM 1
5353

5454
/* Include zstd_deps.h first with all the options we need enabled. */
55-
#define ZSTD_DEPS_NEED_MALLOC
56-
#define ZSTD_DEPS_NEED_MATH64
55+
#define ZSTD_DEPS_NEED_MALLOC
56+
#define ZSTD_DEPS_NEED_MATH64
5757
#include "common/zstd_deps.h"
5858

5959
#include "common/debug.c"

0 commit comments

Comments
 (0)