Use DECLSPEC_NORETURN and place it at the top of the prototype to fix MSVC compilation.
authorColin Finck <colin@reactos.org>
Sat, 17 Jan 2009 21:11:38 +0000 (21:11 +0000)
committerColin Finck <colin@reactos.org>
Sat, 17 Jan 2009 21:11:38 +0000 (21:11 +0000)
Hint by Stefan ;-)

svn path=/trunk/; revision=38852

reactos/include/ndk/rtlfuncs.h

index 39e6d8b..8f2c85f 100644 (file)
@@ -428,10 +428,10 @@ RtlRaiseException(
     IN PEXCEPTION_RECORD ExceptionRecord
 );
 
+DECLSPEC_NORETURN
 NTSYSAPI
 VOID
 NTAPI
-__declspec(noreturn)
 RtlRaiseStatus(
     IN NTSTATUS Status
 );