From: Simon McVittie Date: Mon, 10 Oct 2016 15:13:58 +0000 (+0100) Subject: test-segfault: mark exception_handler as NORETURN X-Git-Tag: dbus-1.11.8~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35cdfc5e76543813366c3f7f050f58681988a904;p=thirdparty%2Fdbus.git test-segfault: mark exception_handler as NORETURN It calls ExitProcess(), which is correctly detected as not returning. Signed-off-by: Simon McVittie --- diff --git a/test/test-segfault.c b/test/test-segfault.c index cd80db6d2..8517dd6c2 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