test-segfault: mark exception_handler as NORETURN

It calls ExitProcess(), which is correctly detected as not returning.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
Simon McVittie 2016-10-10 16:13:58 +01:00 committed by Simon McVittie
parent 28eb0f9004
commit 35cdfc5e76

View file

@ -17,8 +17,9 @@
#include <stdio.h>
#include <windows.h>
int
exception_handler(LPEXCEPTION_POINTERS p);
#include <dbus/dbus-macros.h>
int exception_handler (LPEXCEPTION_POINTERS p) _DBUS_GNUC_NORETURN;
/* Explicit Windows exception handlers needed to supress OS popups */
int