decompress_sources.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
  2. /*
  3. * Copyright (c) Facebook, Inc.
  4. * All rights reserved.
  5. *
  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.
  10. */
  11. /*
  12. * This file includes every .c file needed for decompression.
  13. * It is used by lib/decompress_unzstd.c to include the decompression
  14. * source into the translation-unit, so it can be used for kernel
  15. * decompression.
  16. */
  17. /*
  18. * Disable the ASM Huffman implementation because we need to
  19. * include all the sources.
  20. */
  21. #define ZSTD_DISABLE_ASM 1
  22. #include "common/debug.c"
  23. #include "common/entropy_common.c"
  24. #include "common/error_private.c"
  25. #include "common/fse_decompress.c"
  26. #include "common/zstd_common.c"
  27. #include "decompress/huf_decompress.c"
  28. #include "decompress/zstd_ddict.c"
  29. #include "decompress/zstd_decompress.c"
  30. #include "decompress/zstd_decompress_block.c"
  31. #include "zstd_decompress_module.c"