]> git.ipfire.org Git - thirdparty/zstd.git/commit
[api][visibility] Make the visibility macros more consistent
authorNick Terrell <terrelln@fb.com>
Thu, 15 Dec 2022 23:46:34 +0000 (15:46 -0800)
committerNick Terrell <nickrterrell@gmail.com>
Fri, 16 Dec 2022 20:54:45 +0000 (12:54 -0800)
commit358a2374848d6b9c4fb20a254c038e27bb1527ac
tree0ab4fe8935c4fc66ee0aafb31dd13c32debbbf41
parent58508398f4121f2a84092ac771db0f2b0fbb3b1a
[api][visibility] Make the visibility macros more consistent

1. Follow the scheme introduced in PR #2501 for both `zdict.h` and `zstd_errors.h`.
2. If the `*_VISIBLE` macro isn't set, but the `*_VISIBILITY` macro is, use that.
   Also make this change for `zstd.h`, since we probably shouldn't have changed
   that macro name without backward compatibility in the first place.
3. Change all references to `*_VISIBILITY` to `*_VISIBLE`.

Fixes #3359.
contrib/linux-kernel/Makefile
lib/README.md
lib/module.modulemap
lib/zdict.h
lib/zstd.h
lib/zstd_errors.h