xref: /netbsd-src/external/bsd/zstd/dist/contrib/linux-kernel/decompress_sources.h (revision 3117ece4fc4a4ca4489ba793710b60b0d26bab6c)
1*3117ece4Schristos /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
2*3117ece4Schristos /*
3*3117ece4Schristos  * Copyright (c) Meta Platforms, Inc. and affiliates.
4*3117ece4Schristos  * All rights reserved.
5*3117ece4Schristos  *
6*3117ece4Schristos  * This source code is licensed under both the BSD-style license (found in the
7*3117ece4Schristos  * LICENSE file in the root directory of this source tree) and the GPLv2 (found
8*3117ece4Schristos  * in the COPYING file in the root directory of this source tree).
9*3117ece4Schristos  * You may select, at your option, one of the above-listed licenses.
10*3117ece4Schristos  */
11*3117ece4Schristos 
12*3117ece4Schristos /*
13*3117ece4Schristos  * This file includes every .c file needed for decompression.
14*3117ece4Schristos  * It is used by lib/decompress_unzstd.c to include the decompression
15*3117ece4Schristos  * source into the translation-unit, so it can be used for kernel
16*3117ece4Schristos  * decompression.
17*3117ece4Schristos  */
18*3117ece4Schristos 
19*3117ece4Schristos /*
20*3117ece4Schristos  * Disable the ASM Huffman implementation because we need to
21*3117ece4Schristos  * include all the sources.
22*3117ece4Schristos  */
23*3117ece4Schristos #define ZSTD_DISABLE_ASM 1
24*3117ece4Schristos 
25*3117ece4Schristos #include "common/debug.c"
26*3117ece4Schristos #include "common/entropy_common.c"
27*3117ece4Schristos #include "common/error_private.c"
28*3117ece4Schristos #include "common/fse_decompress.c"
29*3117ece4Schristos #include "common/zstd_common.c"
30*3117ece4Schristos #include "decompress/huf_decompress.c"
31*3117ece4Schristos #include "decompress/zstd_ddict.c"
32*3117ece4Schristos #include "decompress/zstd_decompress.c"
33*3117ece4Schristos #include "decompress/zstd_decompress_block.c"
34*3117ece4Schristos #include "zstd_decompress_module.c"
35