From 871217e6ce54a18a734251444f6b7f642e43518a Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 10 Oct 2016 16:13:58 +0100 Subject: [PATCH 09/13] test-segfault: mark exception_handler as NORETURN It calls ExitProcess(), which is correctly detected as not returning. Signed-off-by: Simon McVittie --- test/test-segfault.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test-segfault.c b/test/test-segfault.c index cd80db6..8517dd6 100644 --- a/test/test-segfault.c +++ b/test/test-segfault.c @@ -17,8 +17,9 @@ #include #include -int -exception_handler(LPEXCEPTION_POINTERS p); +#include + +int exception_handler (LPEXCEPTION_POINTERS p) _DBUS_GNUC_NORETURN; /* Explicit Windows exception handlers needed to supress OS popups */ int -- 2.9.3