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

Francois Gouget fgouget at free.fr
Thu Sep 27 02:24:45 CDT 2018


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 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 74a3b68e436..e64a9fa69f2 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);
-- 
2.19.0




More information about the wine-devel mailing list