summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-12-19 15:52:13 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-12-19 15:52:13 +0100
commit81bc013dde105e604703b430dfe50a67e27b3b70 (patch)
tree7432c5fbfe3cc18b0233afff98c4acec9ad3d993
parent98b1486c4846c5869780c8603e5f83e288c3d72f (diff)
Unix: Fix variable declarations
-rw-r--r--sysdep/unix/unix.h6
1 files 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);