summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorguraga <kalimai@ro.ru>2019-01-21 15:41:49 +0700
committerGitHub <noreply@github.com>2019-01-21 15:41:49 +0700
commitfa10dc1e2529ab26d1caf633c19cb558cab29b85 (patch)
tree61a4b5d2ca3005cbc9428f0847f4d7025511892d /src
parentad6b72d38f08705c6fe8c3c5530b7f40713743e0 (diff)
Update "src/signals.h"
Use "extern volatile" instead of "volatile extern" to avoid "gcc" warning "'extern' is not at beginning of declaration [-Wold-style-declaration]".
Diffstat (limited to 'src')
-rw-r--r--src/signals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signals.h b/src/signals.h
index 38fc0d2..bff737e 100644
--- a/src/signals.h
+++ b/src/signals.h
@@ -27,5 +27,5 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define SIGNALS_H
void setup_signal_handlers();
-volatile extern int sig_exit;
+extern volatile int sig_exit;
#endif