From 81bc013dde105e604703b430dfe50a67e27b3b70 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 19 Dec 2018 15:52:13 +0100 Subject: Unix: Fix variable declarations --- sysdep/unix/unix.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h index 6a05718c..c71f7940 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); -- cgit v1.2.3