aboutsummaryrefslogtreecommitdiffstats
path: root/src/quit.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-18 11:55:53 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-18 11:55:53 +0100
commit6b2def45ea0e5e1f999a06a6b2bd175662024abc (patch)
treeb17188d4bf621f35ec0fe4fc420ff9fcfca470a3 /src/quit.h
parentupdate to new version of libpassphrase (diff)
downloadcerberus-6b2def45ea0e5e1f999a06a6b2bd175662024abc.tar.gz
cerberus-6b2def45ea0e5e1f999a06a6b2bd175662024abc.tar.bz2
cerberus-6b2def45ea0e5e1f999a06a6b2bd175662024abc.tar.xz
dco + do not require gcc
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/quit.h')
-rw-r--r--src/quit.h10
1 files changed, 8 insertions, 2 deletions
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