Francois Gouget : quartz/tests: Make testpin_{AddRef, Release}() static.

Alexandre Julliard julliard at winehq.org
Thu Sep 27 18:25:13 CDT 2018


Module: wine
Branch: master
Commit: d2dbe856d4e4e690812784df73457b3c1cfefa62
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d2dbe856d4e4e690812784df73457b3c1cfefa62

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Sep 27 09:24:45 2018 +0200

quartz/tests: Make testpin_{AddRef,Release}() static.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/quartz/tests/filtergraph.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c
index 74a3b68..e64a9fa 100644
--- a/dlls/quartz/tests/filtergraph.c
+++ b/dlls/quartz/tests/filtergraph.c
@@ -878,13 +878,13 @@ static HRESULT WINAPI testpin_QueryInterface(IPin *iface, REFIID iid, void **out
     return E_NOINTERFACE;
 }
 
-ULONG WINAPI testpin_AddRef(IPin *iface)
+static ULONG WINAPI testpin_AddRef(IPin *iface)
 {
     struct testpin *pin = impl_from_IPin(iface);
     return InterlockedIncrement(&pin->ref);
 }
 
-ULONG WINAPI testpin_Release(IPin *iface)
+static ULONG WINAPI testpin_Release(IPin *iface)
 {
     struct testpin *pin = impl_from_IPin(iface);
     return InterlockedDecrement(&pin->ref);




More information about the wine-cvs mailing list