Francois Gouget : windowscodecs: Make the QueryInterface() functions static .

Alexandre Julliard julliard at winehq.org
Tue Jun 30 08:33:29 CDT 2009


Module: wine
Branch: master
Commit: 97df1e12e6d128a916ba733b4fc3ebf521c920f0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=97df1e12e6d128a916ba733b4fc3ebf521c920f0

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Jun 30 10:22:52 2009 +0200

windowscodecs: Make the QueryInterface() functions static.

---

 dlls/windowscodecs/bmpdecode.c  |    4 ++--
 dlls/windowscodecs/imgfactory.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/windowscodecs/bmpdecode.c b/dlls/windowscodecs/bmpdecode.c
index afe4881..e2378ba 100644
--- a/dlls/windowscodecs/bmpdecode.c
+++ b/dlls/windowscodecs/bmpdecode.c
@@ -66,7 +66,7 @@ typedef struct {
     BITMAPV5HEADER bih;
 } BmpFrameDecode;
 
-HRESULT WINAPI BmpFrameDecode_QueryInterface(IWICBitmapFrameDecode *iface, REFIID iid,
+static HRESULT WINAPI BmpFrameDecode_QueryInterface(IWICBitmapFrameDecode *iface, REFIID iid,
     void **ppv)
 {
     BmpFrameDecode *This = (BmpFrameDecode*)iface;
@@ -274,7 +274,7 @@ static HRESULT BmpDecoder_ReadHeaders(BmpDecoder* This, IStream *stream)
     return S_OK;
 }
 
-HRESULT WINAPI BmpDecoder_QueryInterface(IWICBitmapDecoder *iface, REFIID iid,
+static HRESULT WINAPI BmpDecoder_QueryInterface(IWICBitmapDecoder *iface, REFIID iid,
     void **ppv)
 {
     BmpDecoder *This = (BmpDecoder*)iface;
diff --git a/dlls/windowscodecs/imgfactory.c b/dlls/windowscodecs/imgfactory.c
index f422a8a..5856661 100644
--- a/dlls/windowscodecs/imgfactory.c
+++ b/dlls/windowscodecs/imgfactory.c
@@ -39,7 +39,7 @@ typedef struct {
     LONG ref;
 } ImagingFactory;
 
-HRESULT WINAPI ImagingFactory_QueryInterface(IWICImagingFactory *iface, REFIID iid,
+static HRESULT WINAPI ImagingFactory_QueryInterface(IWICImagingFactory *iface, REFIID iid,
     void **ppv)
 {
     ImagingFactory *This = (ImagingFactory*)iface;




More information about the wine-cvs mailing list