Commit b379e420 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Fixes for function prototypes without arguments.

parent 0d4f07ba
......@@ -1030,7 +1030,7 @@ BOOL WINAPI SSInit16(void)
* RETURNS
* TRUE for success.
*/
BOOL WINAPI SSOnBigStack()
BOOL WINAPI SSOnBigStack(void)
{
TRACE("Yes, thunking is initialized\n");
return TRUE;
......@@ -2109,7 +2109,7 @@ SEGPTR WINAPI Get16DLLAddress(HMODULE16 handle, LPSTR func_name)
* GetWin16DOSEnv (KERNEL32.34)
* Returns some internal value.... probably the default environment database?
*/
DWORD WINAPI GetWin16DOSEnv()
DWORD WINAPI GetWin16DOSEnv(void)
{
FIXME("stub, returning 0\n");
return 0;
......
......@@ -41,7 +41,7 @@ void _beep( unsigned int freq, unsigned int duration)
/*********************************************************************
* rand (MSVCRT.@)
*/
int MSVCRT_rand()
int MSVCRT_rand(void)
{
return (rand() & 0x7fff);
}
......
......@@ -171,7 +171,7 @@ static inline ErrorInfoImpl *impl_from_ISupportErrorInfo( ISupportErrorInfo *ifa
#define _ICreateErrorInfo_(This) (ICreateErrorInfo*)&(This->lpvtcei)
#define _ISupportErrorInfo_(This) (ISupportErrorInfo*)&(This->lpvtsei)
IErrorInfo * IErrorInfoImpl_Constructor()
IErrorInfo * IErrorInfoImpl_Constructor(void)
{
ErrorInfoImpl * ei = HeapAlloc(GetProcessHeap(), 0, sizeof(ErrorInfoImpl));
if (ei)
......
......@@ -895,7 +895,7 @@ typedef BOOL (WINAPI* PSYMBOLSERVEROPENPROC)(void);
typedef BOOL (WINAPI* PSYMBOLSERVERCLOSEPROC)(void);
typedef BOOL (WINAPI* PSYMBOLSERVERSETOPTIONSPROC)(UINT_PTR, ULONG64);
typedef BOOL (CALLBACK* PSYMBOLSERVERCALLBACKPROC)(UINT_PTR, ULONG64, ULONG64);
typedef UINT_PTR (WINAPI* PSYMBOLSERVERGETOPTIONSPROC)();
typedef UINT_PTR (WINAPI* PSYMBOLSERVERGETOPTIONSPROC)(void);
typedef BOOL (WINAPI* PSYMBOLSERVERPINGPROC)(LPCSTR);
#define SSRVOPT_CALLBACK 0x0001
......
......@@ -1635,9 +1635,9 @@ SQLRETURN WINAPI SQLSetScrollOptions(
#define TRACE_VERSION 1000
RETCODE TraceOpenLogFile(LPWSTR,LPWSTR,DWORD);
RETCODE TraceCloseLogFile();
RETCODE TraceCloseLogFile(void);
VOID TraceReturn(RETCODE,RETCODE);
DWORD TraceVersion();
DWORD TraceVersion(void);
/*#define TRACE_ON 0x00000001L*/
#define TRACE_VS_EVENT_ON 0x00000002L
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment