From 6b2def45ea0e5e1f999a06a6b2bd175662024abc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 18 Dec 2015 11:55:53 +0100 Subject: dco + do not require gcc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/quit.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/quit.h') diff --git a/src/quit.h b/src/quit.h index 957d463..630251d 100644 --- a/src/quit.h +++ b/src/quit.h @@ -25,14 +25,20 @@ * * @param signal The signal the program received */ -void timeout_quit(int signal) __attribute__((noreturn)); +#ifdef __GNUC__ +__attribute__((noreturn)) +#endif +void timeout_quit(int signal); /** * Quit function for user aborts * * @param signal The signal the program received */ -void user_quit(int signal) __attribute__((noreturn)); +#ifdef __GNUC__ +__attribute__((noreturn)) +#endif +void user_quit(int signal); #endif -- cgit v1.2.3-70-g09d2