Fixes for function prototypes without arguments.

This commit is contained in:
Eric Pouech 2005-09-06 09:27:37 +00:00 committed by Alexandre Julliard
parent 0d4f07ba22
commit b379e420ed
5 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -41,7 +41,7 @@ void _beep( unsigned int freq, unsigned int duration)
/*********************************************************************
* rand (MSVCRT.@)
*/
int MSVCRT_rand()
int MSVCRT_rand(void)
{
return (rand() & 0x7fff);
}

View File

@ -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)

View File

@ -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

View File

@ -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