]> git.ipfire.org Git - thirdparty/zstd.git/commit
removed internal dependency from CLI 2454/head
authorYann Collet <yann.collet.73@gmail.com>
Wed, 6 Jan 2021 09:35:52 +0000 (01:35 -0800)
committerYann Collet <yann.collet.73@gmail.com>
Wed, 6 Jan 2021 09:35:52 +0000 (01:35 -0800)
commit0d793a675a34a820258ab4c7c5a84e57bbfd7d62
tree142fa7edc050532060eb03f5fcab826b541f9672
parenta077a6a0a9ec66a7271e2f2e4ff4d51dbc276006
removed internal dependency from CLI

ZSTD_cycleLog() is a very short function,
creating a rather large dependency onto libzstd's internal just for it is overkill.
Prefer duplicating this 2-lines function.

This PR makes the zstd CLI one step closer to being linkable to the dynamic library (see #2450)
More steps are still needed to reach this goal.
programs/fileio.c