From 681b71ed9ab6d630005f36be7cb2a98737c23fb6 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 12 Dec 2005 12:42:44 +0100 Subject: [PATCH] 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 96801148452..d46f7389fe6 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 32da763142e..9adc5220abc 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 15e054ff024..117d484a5ec 100644 --- a/dlls/ole32/ole16.c +++ b/dlls/ole32/ole16.c @@ -173,7 +173,7 @@ LPVOID IMalloc16_fnHeapMinimize(IMalloc16* iface) { * IMalloc16_Constructor [VTABLE] */ LPMALLOC16 -IMalloc16_Constructor() +IMalloc16_Constructor(void) { static IMalloc16Vtbl vt16; static SEGPTR msegvt16;