From cb310a3ce03278c01c7f1d4cc8371ceadee3e4e5 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 27 Jul 1999 16:10:04 +0000 Subject: [PATCH] More gcc bug workarounds. --- if1632/thunk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/if1632/thunk.c b/if1632/thunk.c index c7eadc21e5e..7f98fa675bd 100644 --- a/if1632/thunk.c +++ b/if1632/thunk.c @@ -1557,10 +1557,10 @@ void WINAPI CBClientGlueSL( CONTEXT86 *context ) /*********************************************************************** * CBClientThunkSL (KERNEL.620) */ +extern DWORD WINAPI CALL32_CBClient( FARPROC proc, LPWORD args, DWORD *esi ); void WINAPI CBClientThunkSL( CONTEXT86 *context ) { /* Call 32-bit relay code */ - extern DWORD WINAPI CALL32_CBClient( FARPROC proc, LPWORD args, DWORD *esi ); LPWORD args = PTR_SEG_OFF_TO_LIN( SS_reg( context ), BP_reg( context ) ); FARPROC proc = CBClientRelay32[ args[2] ][ args[1] ]; @@ -1571,11 +1571,11 @@ void WINAPI CBClientThunkSL( CONTEXT86 *context ) /*********************************************************************** * CBClientThunkSLEx (KERNEL.621) */ +extern DWORD WINAPI CALL32_CBClientEx( FARPROC proc, LPWORD args, + DWORD *esi, INT *nArgs ); void WINAPI CBClientThunkSLEx( CONTEXT86 *context ) { /* Call 32-bit relay code */ - extern DWORD WINAPI CALL32_CBClientEx( FARPROC proc, LPWORD args, - DWORD *esi, INT *nArgs ); LPWORD args = PTR_SEG_OFF_TO_LIN( SS_reg( context ), BP_reg( context ) ); FARPROC proc = CBClientRelay32[ args[2] ][ args[1] ];