mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void COM_RevokeAllClasses()
|
static void COM_RevokeAllClasses(void)
|
||||||
{
|
{
|
||||||
EnterCriticalSection( &csRegisteredClassList );
|
EnterCriticalSection( &csRegisteredClassList );
|
||||||
|
|
||||||
|
@ -391,7 +391,7 @@ static const IGlobalInterfaceTableVtbl StdGlobalInterfaceTableImpl_Vtbl =
|
|||||||
};
|
};
|
||||||
|
|
||||||
/** This function constructs the GIT. It should only be called once **/
|
/** This function constructs the GIT. It should only be called once **/
|
||||||
void* StdGlobalInterfaceTable_Construct()
|
void* StdGlobalInterfaceTable_Construct(void)
|
||||||
{
|
{
|
||||||
StdGlobalInterfaceTableImpl* newGIT;
|
StdGlobalInterfaceTableImpl* newGIT;
|
||||||
|
|
||||||
|
@ -1814,7 +1814,7 @@ void WINAPI ReleaseStgMedium(
|
|||||||
*
|
*
|
||||||
* Initializes the OLE drag and drop data structures.
|
* Initializes the OLE drag and drop data structures.
|
||||||
*/
|
*/
|
||||||
static void OLEDD_Initialize()
|
static void OLEDD_Initialize(void)
|
||||||
{
|
{
|
||||||
WNDCLASSA wndClass;
|
WNDCLASSA wndClass;
|
||||||
|
|
||||||
@ -2160,7 +2160,7 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
|
|||||||
* a button state mask equivalent to the one passed in the
|
* a button state mask equivalent to the one passed in the
|
||||||
* WM_MOUSEMOVE wParam.
|
* WM_MOUSEMOVE wParam.
|
||||||
*/
|
*/
|
||||||
static DWORD OLEDD_GetButtonState()
|
static DWORD OLEDD_GetButtonState(void)
|
||||||
{
|
{
|
||||||
BYTE keyboardState[256];
|
BYTE keyboardState[256];
|
||||||
DWORD keyMask = 0;
|
DWORD keyMask = 0;
|
||||||
|
@ -636,7 +636,7 @@ static const struct regsvr_interface interface_list[] = {
|
|||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* DllRegisterServer (OLE32.@)
|
* DllRegisterServer (OLE32.@)
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI DllRegisterServer()
|
HRESULT WINAPI DllRegisterServer(void)
|
||||||
{
|
{
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
@ -651,7 +651,7 @@ HRESULT WINAPI DllRegisterServer()
|
|||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* DllUnregisterServer (OLE32.@)
|
* DllUnregisterServer (OLE32.@)
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI DllUnregisterServer()
|
HRESULT WINAPI DllUnregisterServer(void)
|
||||||
{
|
{
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
|
@ -739,7 +739,7 @@ static const IRemUnknownVtbl RemUnknown_Vtbl =
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* starts the IRemUnknown listener for the current apartment */
|
/* starts the IRemUnknown listener for the current apartment */
|
||||||
HRESULT start_apartment_remote_unknown()
|
HRESULT start_apartment_remote_unknown(void)
|
||||||
{
|
{
|
||||||
IRemUnknown *pRemUnknown;
|
IRemUnknown *pRemUnknown;
|
||||||
HRESULT hr = S_OK;
|
HRESULT hr = S_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user