]> git.ipfire.org Git - thirdparty/zstd.git/commit
Avoid Using Deprecated Functions in Deprecated Code
authorW. Felix Handte <w@felixhandte.com>
Thu, 2 Dec 2021 19:25:33 +0000 (14:25 -0500)
committerW. Felix Handte <w@felixhandte.com>
Thu, 2 Dec 2021 19:25:33 +0000 (14:25 -0500)
commita3ee9815c784921c5fad48e3567ba0ad87ff62de
tree50c73380127545c53ab8c4671b377fd25fe51b54
parent9b97fdf74fa9f8adaa557a710b726e2e6966adee
Avoid Using Deprecated Functions in Deprecated Code

`lib/deprecated` is no longer built by zstd's bundled build files. However,
users may try to build these files when they import the source tree into
their own build systems. And if they have `-Wdeprecated-declarations` on,
this can produce warnings.

This PR migrates these files away from using deprecated declarations.

This addresses #2767.
lib/deprecated/zbuff_compress.c