diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 0724667d..78faa186 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2026,6 +2026,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) diff --git a/sysdep/unix/main_helper.h b/sysdep/unix/main_helper.h index d08418e1..3beea1dc 100644 --- a/sysdep/unix/main_helper.h +++ b/sysdep/unix/main_helper.h @@ -30,6 +30,10 @@ extern char *bird_name; extern char *use_user; extern char *use_group; +extern volatile int async_config_flag; +extern volatile int async_dump_flag; +extern volatile int async_shutdown_flag; + /* * Origin 'static' functions from main.c */ diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h index 4e0ff841..a5c11761 100644 --- a/sysdep/unix/unix.h +++ b/sysdep/unix/unix.h @@ -95,10 +95,6 @@ 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; - void io_init(void); void io_loop(void); void io_log_dump(void);