Alexandre Julliard : kernel32: Fix empty function prototypes.

Alexandre Julliard julliard at winehq.org
Tue Oct 6 10:35:51 CDT 2009


Module: wine
Branch: master
Commit: fe1374cc4c3f12f9fd40059830b9a21d3c78545e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fe1374cc4c3f12f9fd40059830b9a21d3c78545e

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Oct  6 12:56:33 2009 +0200

kernel32: Fix empty function prototypes.

---

 dlls/kernel32/kernel16_private.h |    6 +++---
 dlls/kernel32/wowthunk.c         |   10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dlls/kernel32/kernel16_private.h b/dlls/kernel32/kernel16_private.h
index aada5b2..6ad2aea 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 75351b6..080ce3a 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[];
 




More information about the wine-cvs mailing list