commit | 5511aa9bc01fa83d96dc6dd986518e84e12f9eea | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Thu Mar 19 14:16:04 2020 +0200 |
committer | Martin Storsjö <martin@martin.st> | Thu Mar 19 14:25:10 2020 +0200 |
tree | 7f58521f12c683b28d7c0f3c1a90cc6bbc61ab8d | |
parent | 629fd2b1abe6d6c12b08e477a7ce32c8fef8c667 [diff] |
Revert "Avoid declaring something extern AND initializing it." This reverts commit d551b7d85ec63c0fa33f1a51ec5157722709fc53. Redefining EXTERN_C to an empty string isn't the right thing here, as that makes EXTERN_C wrong for any later header that is included (omitting "extern" on variable declarations, which breaks with GCC 10 and Clang 11, where -fno-common is set by default). Signed-off-by: Martin Storsjö <martin@martin.st>