From: Pavel Tvrdik Date: Thu, 7 Apr 2016 10:18:57 +0000 (+0200) Subject: Fix declaration of shared global variables async_* X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc9f0826d67c44328876ad7ee039f446c0f6ff76;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 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)