[2/2] ole32: Make apartment_addref() static.

Francois Gouget fgouget at free.fr
Mon Jul 6 01:09:06 CDT 2009


---
 dlls/ole32/compobj.c         |    2 +-
 dlls/ole32/compobj_private.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 801caf0..b2013cf 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -312,7 +312,7 @@ static void COMPOBJ_DllList_Free(void)
  * Manage apartments.
  */
 
-DWORD apartment_addref(struct apartment *apt)
+static DWORD apartment_addref(struct apartment *apt)
 {
     DWORD refs = InterlockedIncrement(&apt->refs);
     TRACE("%s: before = %d\n", wine_dbgstr_longlong(apt->oxid), refs - 1);
diff --git a/dlls/ole32/compobj_private.h b/dlls/ole32/compobj_private.h
index 58e3856..fb05934 100644
--- a/dlls/ole32/compobj_private.h
+++ b/dlls/ole32/compobj_private.h
@@ -252,7 +252,6 @@ void OLEDD_UnInitialize(void);
 
 APARTMENT *apartment_findfromoxid(OXID oxid, BOOL ref);
 APARTMENT *apartment_findfromtid(DWORD tid);
-DWORD apartment_addref(struct apartment *apt);
 DWORD apartment_release(struct apartment *apt);
 HRESULT apartment_disconnectproxies(struct apartment *apt);
 void apartment_disconnectobject(struct apartment *apt, void *object);
-- 
1.6.3.1




More information about the wine-patches mailing list