diff options
author | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-04-07 12:18:57 +0200 |
---|---|---|
committer | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-06-08 17:37:16 +0200 |
commit | 18c53c456704f8f0ccbdf6eb8ba5f82cb43aeba7 (patch) | |
tree | 6bfd89ecda75e2baf982862b029999b6d0820ea6 | |
parent | 925aa14912329bafff38a9e5a3f675809ff97785 (diff) |
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.
-rw-r--r-- | sysdep/unix/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 5ec728af..867f005f 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2071,6 +2071,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) |