Francois Gouget : rpcrt4: Make RPCRT4_Receive() static.

Alexandre Julliard julliard at winehq.org
Tue Aug 31 11:15:56 CDT 2010


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Aug 31 11:54:17 2010 +0200

rpcrt4: Make RPCRT4_Receive() static.

---

 dlls/rpcrt4/rpc_message.c |    4 ++--
 dlls/rpcrt4/rpc_message.h |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c
index 0144f85..1d18627 100644
--- a/dlls/rpcrt4/rpc_message.c
+++ b/dlls/rpcrt4/rpc_message.c
@@ -1547,8 +1547,8 @@ fail:
  *
  * Receive a packet from connection and merge the fragments.
  */
-RPC_STATUS RPCRT4_Receive(RpcConnection *Connection, RpcPktHdr **Header,
-                          PRPC_MESSAGE pMsg)
+static RPC_STATUS RPCRT4_Receive(RpcConnection *Connection, RpcPktHdr **Header,
+                                 PRPC_MESSAGE pMsg)
 {
     return RPCRT4_ReceiveWithAuth(Connection, Header, pMsg, NULL, NULL);
 }
diff --git a/dlls/rpcrt4/rpc_message.h b/dlls/rpcrt4/rpc_message.h
index 2509527..cf1e410 100644
--- a/dlls/rpcrt4/rpc_message.h
+++ b/dlls/rpcrt4/rpc_message.h
@@ -36,7 +36,6 @@ RpcPktHdr *RPCRT4_BuildHttpFlowControlHeader(BOOL server, ULONG bytes_transmitte
 VOID RPCRT4_FreeHeader(RpcPktHdr *Header);
 RPC_STATUS RPCRT4_Send(RpcConnection *Connection, RpcPktHdr *Header, void *Buffer, unsigned int BufferLength);
 RPC_STATUS RPCRT4_SendWithAuth(RpcConnection *Connection, RpcPktHdr *Header, void *Buffer, unsigned int BufferLength, const void *Auth, unsigned int AuthLength);
-RPC_STATUS RPCRT4_Receive(RpcConnection *Connection, RpcPktHdr **Header, PRPC_MESSAGE pMsg);
 RPC_STATUS RPCRT4_ReceiveWithAuth(RpcConnection *Connection, RpcPktHdr **Header, PRPC_MESSAGE pMsg, unsigned char **auth_data_out, ULONG *auth_length_out);
 DWORD RPCRT4_GetHeaderSize(const RpcPktHdr *Header);
 RPC_STATUS RPCRT4_ValidateCommonHeader(const RpcPktCommonHdr *hdr);




More information about the wine-cvs mailing list