ole32: Fix functions defined without specifying argument types by changing them to "(void)".
This commit is contained in:
parent
496161453c
commit
9038705919
|
@ -2347,7 +2347,7 @@ HRESULT WINAPI CoFileTimeNow( FILETIME *lpFileTime )
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static void COM_RevokeAllClasses()
|
||||
static void COM_RevokeAllClasses(void)
|
||||
{
|
||||
EnterCriticalSection( &csRegisteredClassList );
|
||||
|
||||
|
|
|
@ -391,7 +391,7 @@ static const IGlobalInterfaceTableVtbl StdGlobalInterfaceTableImpl_Vtbl =
|
|||
};
|
||||
|
||||
/** This function constructs the GIT. It should only be called once **/
|
||||
void* StdGlobalInterfaceTable_Construct()
|
||||
void* StdGlobalInterfaceTable_Construct(void)
|
||||
{
|
||||
StdGlobalInterfaceTableImpl* newGIT;
|
||||
|
||||
|
|
|
@ -1814,7 +1814,7 @@ void WINAPI ReleaseStgMedium(
|
|||
*
|
||||
* Initializes the OLE drag and drop data structures.
|
||||
*/
|
||||
static void OLEDD_Initialize()
|
||||
static void OLEDD_Initialize(void)
|
||||
{
|
||||
WNDCLASSA wndClass;
|
||||
|
||||
|
@ -2160,7 +2160,7 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
|
|||
* a button state mask equivalent to the one passed in the
|
||||
* WM_MOUSEMOVE wParam.
|
||||
*/
|
||||
static DWORD OLEDD_GetButtonState()
|
||||
static DWORD OLEDD_GetButtonState(void)
|
||||
{
|
||||
BYTE keyboardState[256];
|
||||
DWORD keyMask = 0;
|
||||
|
|
|
@ -636,7 +636,7 @@ static const struct regsvr_interface interface_list[] = {
|
|||
/***********************************************************************
|
||||
* DllRegisterServer (OLE32.@)
|
||||
*/
|
||||
HRESULT WINAPI DllRegisterServer()
|
||||
HRESULT WINAPI DllRegisterServer(void)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
|
@ -651,7 +651,7 @@ HRESULT WINAPI DllRegisterServer()
|
|||
/***********************************************************************
|
||||
* DllUnregisterServer (OLE32.@)
|
||||
*/
|
||||
HRESULT WINAPI DllUnregisterServer()
|
||||
HRESULT WINAPI DllUnregisterServer(void)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
|
|
|
@ -739,7 +739,7 @@ static const IRemUnknownVtbl RemUnknown_Vtbl =
|
|||
};
|
||||
|
||||
/* starts the IRemUnknown listener for the current apartment */
|
||||
HRESULT start_apartment_remote_unknown()
|
||||
HRESULT start_apartment_remote_unknown(void)
|
||||
{
|
||||
IRemUnknown *pRemUnknown;
|
||||
HRESULT hr = S_OK;
|
||||
|
|
Loading…
Reference in New Issue