Alexandre Julliard : oleaut32: Make the virtual table functions static where possible.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Jun 10 06:26:08 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: cfc6c4891de0903ebc0497679a3143357578bbaa
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=cfc6c4891de0903ebc0497679a3143357578bbaa

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Jun 10 11:59:33 2006 +0200

oleaut32: Make the virtual table functions static where possible.

---

 dlls/oleaut32/tmarshal.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c
index 12aef0d..2dee9d7 100644
--- a/dlls/oleaut32/tmarshal.c
+++ b/dlls/oleaut32/tmarshal.c
@@ -1386,7 +1386,7 @@ exit:
     return hres;
 }
 
-HRESULT WINAPI ProxyIUnknown_QueryInterface(IUnknown *iface, REFIID riid, void **ppv)
+static HRESULT WINAPI ProxyIUnknown_QueryInterface(IUnknown *iface, REFIID riid, void **ppv)
 {
     TMProxyImpl *proxy = (TMProxyImpl *)iface;
 
@@ -1399,7 +1399,7 @@ HRESULT WINAPI ProxyIUnknown_QueryInterf
     return E_NOINTERFACE;
 }
 
-ULONG WINAPI ProxyIUnknown_AddRef(IUnknown *iface)
+static ULONG WINAPI ProxyIUnknown_AddRef(IUnknown *iface)
 {
     TMProxyImpl *proxy = (TMProxyImpl *)iface;
 
@@ -1411,7 +1411,7 @@ ULONG WINAPI ProxyIUnknown_AddRef(IUnkno
     return 2; /* FIXME */
 }
 
-ULONG WINAPI ProxyIUnknown_Release(IUnknown *iface)
+static ULONG WINAPI ProxyIUnknown_Release(IUnknown *iface)
 {
     TMProxyImpl *proxy = (TMProxyImpl *)iface;
 




More information about the wine-cvs mailing list