From: Pavel Tvrdik Date: Thu, 7 Apr 2016 10:18:57 +0000 (+0200) Subject: Fix declaration of shared global variables async_* X-Git-Tag: v2.0.0-pre0~9^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18c53c456704f8f0ccbdf6eb8ba5f82cb43aeba7;p=thirdparty%2Fbird.git 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. --- diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 5ec728af0..867f005f4 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)