Robert Shearman : ole32: Fix functions defined without specifying argument types by changing them to "(void)".

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 28 12:35:23 CDT 2006


Module: wine
Branch: master
Commit: 90387059194b1feb8b1271c666cd8c44fe07e315
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=90387059194b1feb8b1271c666cd8c44fe07e315

Author: Robert Shearman <rob at codeweavers.com>
Date:   Mon Aug 28 14:18:15 2006 +0100

ole32: Fix functions defined without specifying argument types by changing them to "(void)".

---

 dlls/ole32/compobj.c     |    2 +-
 dlls/ole32/git.c         |    2 +-
 dlls/ole32/ole2.c        |    4 ++--
 dlls/ole32/regsvr.c      |    4 ++--
 dlls/ole32/stubmanager.c |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 0208bc5..7ce8a69 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -2347,7 +2347,7 @@ HRESULT WINAPI CoFileTimeNow( FILETIME *
     return S_OK;
 }
 
-static void COM_RevokeAllClasses()
+static void COM_RevokeAllClasses(void)
 {
   EnterCriticalSection( &csRegisteredClassList );
 
diff --git a/dlls/ole32/git.c b/dlls/ole32/git.c
index a56e1d4..c750287 100644
--- a/dlls/ole32/git.c
+++ b/dlls/ole32/git.c
@@ -391,7 +391,7 @@ static const IGlobalInterfaceTableVtbl S
 };
 
 /** This function constructs the GIT. It should only be called once **/
-void* StdGlobalInterfaceTable_Construct()
+void* StdGlobalInterfaceTable_Construct(void)
 {
   StdGlobalInterfaceTableImpl* newGIT;
 
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index bf6847c..164970d 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -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(Track
  * 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;
diff --git a/dlls/ole32/regsvr.c b/dlls/ole32/regsvr.c
index fad8f8a..b127c0d 100644
--- a/dlls/ole32/regsvr.c
+++ b/dlls/ole32/regsvr.c
@@ -636,7 +636,7 @@ static const struct regsvr_interface int
 /***********************************************************************
  *		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;
 
diff --git a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c
index e0b0007..f187404 100644
--- a/dlls/ole32/stubmanager.c
+++ b/dlls/ole32/stubmanager.c
@@ -739,7 +739,7 @@ static const IRemUnknownVtbl RemUnknown_
 };
 
 /* 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;




More information about the wine-cvs mailing list