mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 06:44:24 +01:00
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:
committed by
Rusty Russell
parent
fd76b8bfba
commit
e4c6fd89b7
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user