From fa10dc1e2529ab26d1caf633c19cb558cab29b85 Mon Sep 17 00:00:00 2001 From: guraga Date: Mon, 21 Jan 2019 15:41:49 +0700 Subject: 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]". --- src/signals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3