Only symbols that are a part of the public API (ie, nvm_management.h) should be visible.
This was already done properly on Windows (by the NVM_API define), let's switch this on Unix as well.
My immediate reason is that the symbol churn interfered with ABI breakage checks provided by Debian tooling — but there are other benefits for not polluting symbols, such as avoiding conflicts with other programs' or libraries functions with similar generic names.
Only symbols that are a part of the public API (ie,
nvm_management.h
) should be visible.This was already done properly on Windows (by the
NVM_API
define), let's switch this on Unix as well.My immediate reason is that the symbol churn interfered with ABI breakage checks provided by Debian tooling — but there are other benefits for not polluting symbols, such as avoiding conflicts with other programs' or libraries functions with similar generic names.