quartz: Make some functions static.

Francois Gouget fgouget at free.fr
Wed Mar 16 02:32:44 CDT 2011


---
 dlls/quartz/acmwrapper.c     |    2 +-
 dlls/quartz/avidec.c         |    2 +-
 dlls/quartz/pin.c            |    2 +-
 dlls/quartz/quartz_private.h |    1 -
 4 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/quartz/acmwrapper.c b/dlls/quartz/acmwrapper.c
index 3659326..7cdaba6 100644
--- a/dlls/quartz/acmwrapper.c
+++ b/dlls/quartz/acmwrapper.c
@@ -405,7 +405,7 @@ HRESULT ACMWrapper_create(IUnknown * pUnkOuter, LPVOID * ppv)
     return hr;
 }
 
-HRESULT WINAPI ACMWrapper_QueryInterface(IBaseFilter * iface, REFIID riid, LPVOID * ppv)
+static HRESULT WINAPI ACMWrapper_QueryInterface(IBaseFilter * iface, REFIID riid, LPVOID * ppv)
 {
     HRESULT hr;
     ACMWrapperImpl *This = (ACMWrapperImpl *)iface;
diff --git a/dlls/quartz/avidec.c b/dlls/quartz/avidec.c
index dcd8093..e7e1de7 100644
--- a/dlls/quartz/avidec.c
+++ b/dlls/quartz/avidec.c
@@ -426,7 +426,7 @@ HRESULT AVIDec_create(IUnknown * pUnkOuter, LPVOID * ppv)
     return hr;
 }
 
-HRESULT WINAPI AVIDec_QueryInterface(IBaseFilter * iface, REFIID riid, LPVOID * ppv)
+static HRESULT WINAPI AVIDec_QueryInterface(IBaseFilter * iface, REFIID riid, LPVOID * ppv)
 {
     HRESULT hr;
     AVIDecImpl *This = (AVIDecImpl *)iface;
diff --git a/dlls/quartz/pin.c b/dlls/quartz/pin.c
index 297b2d6..852fd4b 100644
--- a/dlls/quartz/pin.c
+++ b/dlls/quartz/pin.c
@@ -42,7 +42,7 @@ typedef HRESULT (*SendPinFunc)( IPin *to, LPVOID arg );
  * Return the first received error code (E_NOTIMPL is ignored)
  * If no errors occur: return the first received non-error-code that isn't S_OK
  */
-HRESULT updatehres( HRESULT original, HRESULT new )
+static HRESULT updatehres( HRESULT original, HRESULT new )
 {
     if (FAILED( original ) || new == E_NOTIMPL)
         return original;
diff --git a/dlls/quartz/quartz_private.h b/dlls/quartz/quartz_private.h
index 4bc9de5..f627dc8 100644
--- a/dlls/quartz/quartz_private.h
+++ b/dlls/quartz/quartz_private.h
@@ -71,7 +71,6 @@ extern void video_unregister_windowclass(void) DECLSPEC_HIDDEN;
 
 BOOL CompareMediaTypes(const AM_MEDIA_TYPE * pmt1, const AM_MEDIA_TYPE * pmt2, BOOL bWildcards);
 void dump_AM_MEDIA_TYPE(const AM_MEDIA_TYPE * pmt);
-HRESULT updatehres( HRESULT original, HRESULT new );
 
 typedef struct StdMediaSample2
 {
-- 
1.7.2.3




More information about the wine-patches mailing list