From dc9f0826d67c44328876ad7ee039f446c0f6ff76 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 4db6abb7b..684ea1329 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2028,6 +2028,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) -- 2.47.2