Francois Gouget : ole32: Make apartment_addref() static.

Alexandre Julliard julliard at winehq.org
Tue Jul 7 08:08:18 CDT 2009


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Jul  6 08:09:06 2009 +0200

ole32: Make apartment_addref() static.

---

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




More information about the wine-cvs mailing list