diff --git a/dlls/kernel32/kernel16_private.h b/dlls/kernel32/kernel16_private.h index aada5b29759..6ad2aeace90 100644 --- a/dlls/kernel32/kernel16_private.h +++ b/dlls/kernel32/kernel16_private.h @@ -114,7 +114,7 @@ typedef struct { WORD pushw_bp; /* pushw %bp */ BYTE pushl; /* pushl $target */ - void (*target)(); + void *target; WORD call; /* call CALLFROM16 */ short callfrom16; } ENTRYPOINT16; @@ -147,8 +147,8 @@ typedef struct _THHOOK HTASK16 LockTDB; /* 14 hLockedTask */ } THHOOK; -extern LONG __wine_call_from_16(); -extern void __wine_call_from_16_regs(); +extern LONG __wine_call_from_16(void); +extern void __wine_call_from_16_regs(void); extern THHOOK *pThhook; diff --git a/dlls/kernel32/wowthunk.c b/dlls/kernel32/wowthunk.c index 75351b6e5d4..080ce3af08b 100644 --- a/dlls/kernel32/wowthunk.c +++ b/dlls/kernel32/wowthunk.c @@ -48,11 +48,11 @@ WINE_DECLARE_DEBUG_CHANNEL(snoop); extern DWORD WINAPI wine_call_to_16( FARPROC16 target, DWORD cbArgs, PEXCEPTION_HANDLER handler ); extern void WINAPI wine_call_to_16_regs( CONTEXT86 *context, DWORD cbArgs, PEXCEPTION_HANDLER handler ); extern void __wine_call_to_16_ret(void); -extern void CALL32_CBClient_Ret(); -extern void CALL32_CBClientEx_Ret(); -extern void DPMI_PendingEventCheck(); -extern void DPMI_PendingEventCheck_Cleanup(); -extern void DPMI_PendingEventCheck_Return(); +extern void CALL32_CBClient_Ret(void); +extern void CALL32_CBClientEx_Ret(void); +extern void DPMI_PendingEventCheck(void); +extern void DPMI_PendingEventCheck_Cleanup(void); +extern void DPMI_PendingEventCheck_Return(void); extern BYTE __wine_call16_start[]; extern BYTE __wine_call16_end[];