From df547b158107565079cc075933a7356dcac024df Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 22 May 2011 22:08:01 +0000 Subject: [PATCH] * Consistently mark KeBugCheckEx with the noreturn attribute. Patch by Igor Paliychuk. svn path=/trunk/; revision=51854 --- reactos/boot/freeldr/freeldr/debug.c | 1 + reactos/include/ddk/wdm.h | 2 +- reactos/include/xdk/kefuncs.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/boot/freeldr/freeldr/debug.c b/reactos/boot/freeldr/freeldr/debug.c index daabc6715f3..6d7d4e9e934 100644 --- a/reactos/boot/freeldr/freeldr/debug.c +++ b/reactos/boot/freeldr/freeldr/debug.c @@ -340,6 +340,7 @@ MsgBoxPrint(const char *Format, ...) return 0; } +DECLSPEC_NORETURN NTKERNELAPI VOID NTAPI diff --git a/reactos/include/ddk/wdm.h b/reactos/include/ddk/wdm.h index 8da3a5ab485..50c75eb9e77 100644 --- a/reactos/include/ddk/wdm.h +++ b/reactos/include/ddk/wdm.h @@ -9772,8 +9772,8 @@ KeInitializeSpinLock(IN PKSPIN_LOCK SpinLock) } #endif +DECLSPEC_NORETURN NTKERNELAPI -//DECLSPEC_NORETURN VOID NTAPI KeBugCheckEx( diff --git a/reactos/include/xdk/kefuncs.h b/reactos/include/xdk/kefuncs.h index eb5c7a25c5e..ae37e3a4409 100644 --- a/reactos/include/xdk/kefuncs.h +++ b/reactos/include/xdk/kefuncs.h @@ -207,8 +207,8 @@ KeInitializeSpinLock(IN PKSPIN_LOCK SpinLock) } #endif +DECLSPEC_NORETURN NTKERNELAPI -//DECLSPEC_NORETURN VOID NTAPI KeBugCheckEx(