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

Francois Gouget fgouget at free.fr
Mon Jun 22 03:47:25 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 276fa50..ee658a8 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -308,7 +308,7 @@ struct apartment_loaded_dll
     BOOL multi_threaded;
 };
 
-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 43e6e25..97e0e40 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