mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-07 02:48:19 +02:00
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:
parent
28eb0f9004
commit
35cdfc5e76
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue