1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
3 * Copyright (c) Facebook, Inc.
6 * This source code is licensed under both the BSD-style license (found in the
7 * LICENSE file in the root directory of this source tree) and the GPLv2 (found
8 * in the COPYING file in the root directory of this source tree).
9 * You may select, at your option, one of the above-listed licenses.
13 * This file includes every .c file needed for decompression.
14 * It is used by lib/decompress_unzstd.c to include the decompression
15 * source into the translation-unit, so it can be used for kernel
20 * Disable the ASM Huffman implementation because we need to
21 * include all the sources.
23 #define ZSTD_DISABLE_ASM 1
25 #include "common/debug.c"
26 #include "common/entropy_common.c"
27 #include "common/error_private.c"
28 #include "common/fse_decompress.c"
29 #include "common/zstd_common.c"
30 #include "decompress/huf_decompress.c"
31 #include "decompress/zstd_ddict.c"
32 #include "decompress/zstd_decompress.c"
33 #include "decompress/zstd_decompress_block.c"
34 #include "zstd_decompress_module.c"