From: Ondrej Zajicek (work) Date: Wed, 19 Dec 2018 14:52:13 +0000 (+0100) Subject: Unix: Fix variable declarations X-Git-Tag: v1.6.5~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81bc013dde105e604703b430dfe50a67e27b3b70;p=thirdparty%2Fbird.git Unix: Fix variable declarations --- diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h index 6a05718c4..c71f7940c 100644 --- a/sysdep/unix/unix.h +++ b/sysdep/unix/unix.h @@ -96,9 +96,9 @@ int sockaddr_read(sockaddr *sa, int af, ip_addr *a, struct iface **ifa, uint *po #define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) + strlen ((ptr)->sun_path)) #endif -volatile int async_config_flag; -volatile int async_dump_flag; -volatile int async_shutdown_flag; +extern volatile int async_config_flag; +extern volatile int async_dump_flag; +extern volatile int async_shutdown_flag; void io_init(void); void io_loop(void);