diff options
author | fooxax <xaxes@foonative.org> | 2020-12-13 14:54:13 +0100 |
---|---|---|
committer | fooxax <xaxes@foonative.org> | 2020-12-13 15:01:17 +0100 |
commit | a50564584f51599205f59e476a41c34a5bcee390 (patch) | |
tree | 7e320b5a29993e2b13ff6dc24d6a2e330dd3328f /src/getbat.c | |
parent | a8dd26bec6ce2790c421d5973fc0335042875922 (diff) | |
download | paramano-a50564584f51599205f59e476a41c34a5bcee390.tar.xz |
Avoid duplicate definition of global default variables
With GCC 10 several things got changed. One of the things is the
-fno-common default which prevented the code to link cause of multiple
definition issues.
Declared the variables extern and defined them in c-file to avoid the linker error.
Details can be found here: https://gcc.gnu.org/gcc-10/porting_to.html
Diffstat (limited to 'src/getbat.c')
0 files changed, 0 insertions, 0 deletions