From 11f86ca4e43ce1c4abfa1151b8d23c8b559c9cf3 Mon Sep 17 00:00:00 2001 From: "Frederic Pierret (Epitre)" Date: Thu, 7 Sep 2017 15:22:31 +0200 Subject: [PATCH] Handle fallthrough with attribute(noreturn) for consistancy and compatiblity with older GCC --- qubes-rpc/gui-fatal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubes-rpc/gui-fatal.h b/qubes-rpc/gui-fatal.h index 732f1ff..6d944a9 100644 --- a/qubes-rpc/gui-fatal.h +++ b/qubes-rpc/gui-fatal.h @@ -1,3 +1,3 @@ -void gui_fatal(const char *fmt, ...); +void gui_fatal(const char *fmt, ...) __attribute__((noreturn)); void gui_nonfatal(const char *fmt, ...); -void qfile_gui_fatal(const char *fmt, va_list args); +void qfile_gui_fatal(const char *fmt, va_list args) __attribute__((noreturn));