Add missing extern qualifiers for gcc 10

GCC 10 defaults to `-fno-common`. no longer automatically sharing
global variable definitions, which makes it important to define
them in only one place (otherwise there will be duplicate definition
errors). Add `extern` qualifiers where (I think) is the best place for
them.
This commit is contained in:
Wladimir J. van der Laan
2020-01-31 20:59:00 +00:00
committed by Rusty Russell
parent fd76b8bfba
commit e4c6fd89b7
9 changed files with 9 additions and 9 deletions

View File

@@ -20,6 +20,4 @@ void daemon_shutdown(void);
/* Kick in a debugger if they set --debugger */
void daemon_maybe_debug(char *argv[]);
struct backtrace_state *backtrace_state;
#endif /* LIGHTNING_COMMON_DAEMON_H */