]> git.ipfire.org Git - thirdparty/zstd.git/commit
grouped debug functions into debug.h
authorYann Collet <cyan@fb.com>
Wed, 13 Jun 2018 18:59:26 +0000 (14:59 -0400)
committerYann Collet <cyan@fb.com>
Wed, 13 Jun 2018 19:43:09 +0000 (15:43 -0400)
commitfa41bcc2c2440915bf6602f698c8ed4a9005e7aa
treee6c0eeca90f4f45783f193f2fb7058c4a18bf845
parentc986dbf24171f16a22aaa8828310ddff377f1237
grouped debug functions into debug.h

There were 2 competing set of debug functions
within zstd_internal.h and bitstream.h.
They were mostly duplicate, and required care to avoid messing with each other.

There is now a single implementation, shared by both.

Significant change :
The macro variable ZSTD_DEBUG does no longer exist,
it has been replaced by DEBUGLEVEL,
which required modifying several source files.
17 files changed:
Makefile
lib/common/bitstream.h
lib/common/debug.c [new file with mode: 0644]
lib/common/debug.h [new file with mode: 0644]
lib/common/fse_decompress.c
lib/common/zstd_common.c
lib/common/zstd_internal.h
lib/compress/fse_compress.c
lib/compress/huf_compress.c
lib/compress/zstd_compress_internal.h
lib/compress/zstdmt_compress.c
lib/decompress/huf_decompress.c
lib/dictBuilder/zdict.c
lib/legacy/zstd_v04.c
tests/Makefile
tests/fuzz/fuzz.h
tests/fuzz/fuzz.py