diff --git a/loader/dos/dosvm.c b/loader/dos/dosvm.c index 529b252ee20..78bcbcbceca 100644 --- a/loader/dos/dosvm.c +++ b/loader/dos/dosvm.c @@ -46,11 +46,12 @@ DECLARE_DEBUG_CHANNEL(relay) #undef TRY_PICRETURN +extern void WINAPI REGS_FUNC(RtlRaiseException)( EXCEPTION_RECORD *rec, + CONTEXT *context ); + static void do_exception( int signal, CONTEXT86 *context ) { EXCEPTION_RECORD rec; - extern void WINAPI REGS_FUNC(RtlRaiseException)( EXCEPTION_RECORD *rec, - CONTEXT *context ); if ((signal == SIGTRAP) || (signal == SIGHUP)) { rec.ExceptionCode = EXCEPTION_BREAKPOINT;