From 3cbeae820dbb77bddaea3d65335ddc47cd04b798 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 6 Jul 2009 08:09:06 +0200 Subject: [PATCH] ole32: Make apartment_addref() static. --- dlls/ole32/compobj.c | 2 +- dlls/ole32/compobj_private.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 801caf04c86..b2013cfbfa3 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 58e38566d3d..fb059349f8c 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); -- 2.11.4.GIT