From 6ce11dc87856448d1128be21add627235c00c403 Mon Sep 17 00:00:00 2001 From: "KJK::Hyperion" Date: Thu, 3 Jun 2004 04:14:07 +0000 Subject: [PATCH] Small fixes to the SEH library svn path=/trunk/; revision=9600 --- reactos/include/pseh/framebased.h | 5 ++++- reactos/lib/pseh/i386/framebased.asm | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/reactos/include/pseh/framebased.h b/reactos/include/pseh/framebased.h index 20725cd0b72..3e7c79ec291 100644 --- a/reactos/include/pseh/framebased.h +++ b/reactos/include/pseh/framebased.h @@ -44,7 +44,10 @@ typedef struct __SEHFrame } _SEHFrame_t; -static void __stdcall _SEHCompilerSpecificHandler(_SEHPortableFrame_t * frame) +static __declspec(noreturn) void __stdcall _SEHCompilerSpecificHandler +( + _SEHPortableFrame_t * frame +) { _SEHFrame_t * myframe; myframe = (_SEHFrame_t *)(((char *)frame) - offsetof(_SEHFrame_t, SEH_Header)); diff --git a/reactos/lib/pseh/i386/framebased.asm b/reactos/lib/pseh/i386/framebased.asm index da61c207737..109b0b580cc 100644 --- a/reactos/lib/pseh/i386/framebased.asm +++ b/reactos/lib/pseh/i386/framebased.asm @@ -44,7 +44,7 @@ __SEHUnregisterFrame: global __SEHUnwind __SEHUnwind: - extern RtlUnwind + extern _RtlUnwind@16 mov ecx, [esp+4] @@ -57,7 +57,7 @@ __SEHUnwind: push eax push eax push ecx - call RtlUnwind + call _RtlUnwind@16 pop ebx pop edi