Skip to content

Fix redundant declarations related to ELF visibility

Just a proposal to fix these -Wredundant-decls that I didn't fix in !31 (merged).

Obviously, this changes the API (although it doesn't change the symbols), but I don't see how to avoid these warnings by keeping variable declarations instead of function declarations.

Feel free to close this MR if these changes are not acceptable or not worth it: again, this is just a proposal.

NB: these warnings appear only with gcc, not with clang.

Edited by Gaël Bonithon

Merge request reports