Commit 35cdfc5e authored by Simon McVittie's avatar Simon McVittie Committed by Simon McVittie

test-segfault: mark exception_handler as NORETURN

It calls ExitProcess(), which is correctly detected as not returning.
Signed-off-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent 28eb0f90
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment