Francois Gouget : rpcrt4: Remove WINAPI on static functions where not needed.

Alexandre Julliard julliard at winehq.org
Wed Nov 26 07:32:24 CST 2008


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Nov 25 16:43:14 2008 +0100

rpcrt4: Remove WINAPI on static functions where not needed.

---

 dlls/rpcrt4/cproxy.c       |    2 +-
 dlls/rpcrt4/ndr_marshall.c |    2 +-
 dlls/rpcrt4/ndr_stubless.c |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/rpcrt4/cproxy.c b/dlls/rpcrt4/cproxy.c
index 7979c0e..6c26d18 100644
--- a/dlls/rpcrt4/cproxy.c
+++ b/dlls/rpcrt4/cproxy.c
@@ -193,7 +193,7 @@ HRESULT WINAPI StdProxy_Construct(REFIID riid,
   return S_OK;
 }
 
-static void WINAPI StdProxy_Destruct(LPRPCPROXYBUFFER iface)
+static void StdProxy_Destruct(LPRPCPROXYBUFFER iface)
 {
   ICOM_THIS_MULTI(StdProxyImpl,lpVtbl,iface);
 
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 3be736d..9608f1e 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -391,7 +391,7 @@ void * WINAPI NdrAllocate(MIDL_STUB_MESSAGE *pStubMsg, SIZE_T len)
     return p;
 }
 
-static void WINAPI NdrFree(MIDL_STUB_MESSAGE *pStubMsg, unsigned char *Pointer)
+static void NdrFree(MIDL_STUB_MESSAGE *pStubMsg, unsigned char *Pointer)
 {
     TRACE("(%p, %p)\n", pStubMsg, Pointer);
 
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index 0daf22e..9833483 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -107,7 +107,7 @@ void WINAPI NdrRpcSmSetClientToOsf(PMIDL_STUB_MESSAGE pMessage)
 #endif
 }
 
-static void WINAPI dump_RPC_FC_PROC_PF(PARAM_ATTRIBUTES param_attributes)
+static void dump_RPC_FC_PROC_PF(PARAM_ATTRIBUTES param_attributes)
 {
     if (param_attributes.MustSize) TRACE(" MustSize");
     if (param_attributes.MustFree) TRACE(" MustFree");
@@ -123,7 +123,7 @@ static void WINAPI dump_RPC_FC_PROC_PF(PARAM_ATTRIBUTES param_attributes)
     if (param_attributes.ServerAllocSize) TRACE(" ServerAllocSize = %d", param_attributes.ServerAllocSize * 8);
 }
 
-static void WINAPI dump_INTERPRETER_OPT_FLAGS(INTERPRETER_OPT_FLAGS Oi2Flags)
+static void dump_INTERPRETER_OPT_FLAGS(INTERPRETER_OPT_FLAGS Oi2Flags)
 {
     if (Oi2Flags.ServerMustSize) TRACE(" ServerMustSize");
     if (Oi2Flags.ClientMustSize) TRACE(" ClientMustSize");




More information about the wine-cvs mailing list