mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
Small fixes to the SEH library
svn path=/trunk/; revision=9600
This commit is contained in:
parent
cb341561af
commit
6ce11dc878
2 changed files with 6 additions and 3 deletions
|
@ -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));
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue