Fix declaration of shared global variables async_*

In a header file write it with extern keyword. And in one of the *.c
file declare it without extern keyword.
This commit is contained in:
Pavel Tvrdik 2016-04-07 12:18:57 +02:00
parent 925aa14912
commit 18c53c4567

View file

@ -2071,6 +2071,7 @@ watchdog_stop(void)
volatile int async_config_flag; /* Asynchronous reconfiguration/dump scheduled */
volatile int async_dump_flag;
volatile int async_shutdown_flag;
void
io_init(void)