From 18c53c456704f8f0ccbdf6eb8ba5f82cb43aeba7 Mon Sep 17 00:00:00 2001 From: Pavel Tvrdik Date: Thu, 7 Apr 2016 12:18:57 +0200 Subject: [PATCH] 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. --- sysdep/unix/io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 5ec728af..867f005f 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -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)