oleaut32: Remove WINAPI on static functions where not needed.

Francois Gouget fgouget at codeweavers.com
Tue Nov 25 09:42:23 CST 2008


---

If you know other places where the functions touched by this patch 
are used, please let me know. For more details, see:

http://www.winehq.org/pipermail/wine-patches/2008-November/064995.html


 dlls/oleaut32/dispatch.c |    4 ++--
 dlls/oleaut32/typelib.c  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/oleaut32/dispatch.c b/dlls/oleaut32/dispatch.c
index 057e39a..4dfc470 100644
--- a/dlls/oleaut32/dispatch.c
+++ b/dlls/oleaut32/dispatch.c
@@ -39,7 +39,7 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(ole);
 
-static IDispatch * WINAPI StdDispatch_Construct(IUnknown * punkOuter, void * pvThis, ITypeInfo * pTypeInfo);
+static IDispatch * StdDispatch_Construct(IUnknown * punkOuter, void * pvThis, ITypeInfo * pTypeInfo);
 
 /******************************************************************************
  *		DispInvoke (OLEAUT32.30)
@@ -425,7 +425,7 @@ static const IDispatchVtbl StdDispatch_VTable =
   StdDispatch_Invoke
 };
 
-static IDispatch * WINAPI StdDispatch_Construct(
+static IDispatch * StdDispatch_Construct(
   IUnknown * punkOuter,
   void * pvThis,
   ITypeInfo * pTypeInfo)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index f807c05..911a88b 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -1034,7 +1034,7 @@ static inline ITypeInfoImpl *info_impl_from_ITypeComp( ITypeComp *iface )
 static const ITypeInfo2Vtbl tinfvt;
 static const ITypeCompVtbl  tcompvt;
 
-static ITypeInfo2 * WINAPI ITypeInfo_Constructor(void);
+static ITypeInfo2 * ITypeInfo_Constructor(void);
 
 typedef struct tagTLBContext
 {
@@ -4587,7 +4587,7 @@ static const ITypeCompVtbl tlbtcvt =
 };
 
 /*================== ITypeInfo(2) Methods ===================================*/
-static ITypeInfo2 * WINAPI ITypeInfo_Constructor(void)
+static ITypeInfo2 * ITypeInfo_Constructor(void)
 {
     ITypeInfoImpl * pTypeInfoImpl;
 
-- 
1.5.6.5




More information about the wine-patches mailing list