From c34317dc2cbb1d636fd00bd201033acb1ae22016 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 28 Aug 2022 16:27:01 +0200 Subject: make compilers happier --- src/signal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/signal.h') diff --git a/src/signal.h b/src/signal.h index ac6da9d..d06ab6d 100644 --- a/src/signal.h +++ b/src/signal.h @@ -1,13 +1,15 @@ #ifndef __SIGNAL_H__ #define __SIGNAL_H__ +#include "compiler.h" + #include #include #include extern volatile sig_atomic_t global_stop_flag; -static void signal_handler(int) +static void signal_handler(UNUSED int signum) { global_stop_flag = 1; } -- cgit v1.2.3