Eric Pouech : Functions with no paramters must be (void).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Dec 12 06:45:10 CST 2005
Module: wine
Branch: refs/heads/master
Commit: 681b71ed9ab6d630005f36be7cb2a98737c23fb6
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=681b71ed9ab6d630005f36be7cb2a98737c23fb6
Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date: Mon Dec 12 12:42:44 2005 +0100
Functions with no paramters must be (void).
---
dlls/msvcrt/msvcrt.h | 8 ++++----
dlls/ntdll/relay.c | 4 ++--
dlls/ole32/ole16.c | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h
index 9680114..d46f738 100644
--- a/dlls/msvcrt/msvcrt.h
+++ b/dlls/msvcrt/msvcrt.h
@@ -65,10 +65,10 @@ typedef long MSVCRT_clock_t;
typedef long MSVCRT_time_t;
typedef __int64 MSVCRT_fpos_t;
-typedef void (*MSVCRT_terminate_handler)();
-typedef void (*MSVCRT_terminate_function)();
-typedef void (*MSVCRT_unexpected_handler)();
-typedef void (*MSVCRT_unexpected_function)();
+typedef void (*MSVCRT_terminate_handler)(void);
+typedef void (*MSVCRT_terminate_function)(void);
+typedef void (*MSVCRT_unexpected_handler)(void);
+typedef void (*MSVCRT_unexpected_function)(void);
typedef void (*MSVCRT__se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info);
typedef void (*MSVCRT__beginthread_start_routine_t)(void *);
typedef unsigned int (__stdcall *MSVCRT__beginthreadex_start_routine_t)(void *);
diff --git a/dlls/ntdll/relay.c b/dlls/ntdll/relay.c
index 32da763..9adc522 100644
--- a/dlls/ntdll/relay.c
+++ b/dlls/ntdll/relay.c
@@ -266,8 +266,8 @@ typedef struct tagSNOOP_RETURNENTRIES {
#include "poppack.h"
-extern void WINAPI SNOOP_Entry();
-extern void WINAPI SNOOP_Return();
+extern void WINAPI SNOOP_Entry(void);
+extern void WINAPI SNOOP_Return(void);
static SNOOP_DLL *firstdll;
static SNOOP_RETURNENTRIES *firstrets;
diff --git a/dlls/ole32/ole16.c b/dlls/ole32/ole16.c
index 15e054f..117d484 100644
--- a/dlls/ole32/ole16.c
+++ b/dlls/ole32/ole16.c
@@ -173,7 +173,7 @@ LPVOID IMalloc16_fnHeapMinimize(IMalloc1
* IMalloc16_Constructor [VTABLE]
*/
LPMALLOC16
-IMalloc16_Constructor()
+IMalloc16_Constructor(void)
{
static IMalloc16Vtbl vt16;
static SEGPTR msegvt16;
More information about the wine-cvs
mailing list