Andrew Talbot : rpcrt4: Constify some variables.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Aug 22 06:23:11 CDT 2007
Module: wine
Branch: master
Commit: 04e0986d60d3fe017c0cfcb34c0aa34c130f00f6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=04e0986d60d3fe017c0cfcb34c0aa34c130f00f6
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Aug 21 21:37:15 2007 +0100
rpcrt4: Constify some variables.
---
dlls/rpcrt4/rpc_server.c | 2 +-
dlls/rpcrt4/rpc_transport.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/rpc_server.c b/dlls/rpcrt4/rpc_server.c
index 8a72ab3..b62954b 100644
--- a/dlls/rpcrt4/rpc_server.c
+++ b/dlls/rpcrt4/rpc_server.c
@@ -119,7 +119,7 @@ static inline UUID *LookupObjType(UUID *ObjUuid)
}
static RpcServerInterface* RPCRT4_find_interface(UUID* object,
- RPC_SYNTAX_IDENTIFIER* if_id,
+ const RPC_SYNTAX_IDENTIFIER* if_id,
BOOL check_object)
{
UUID* MgrType = NULL;
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index cc33e5e..53876a9 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -1475,7 +1475,7 @@ ULONG RpcAssoc_Release(RpcAssoc *assoc)
#define ROUND_UP(value, alignment) (((value) + ((alignment) - 1)) & ~((alignment)-1))
-static RPC_STATUS RpcAssoc_BindConnection(RpcAssoc *assoc, RpcConnection *conn,
+static RPC_STATUS RpcAssoc_BindConnection(const RpcAssoc *assoc, RpcConnection *conn,
const RPC_SYNTAX_IDENTIFIER *InterfaceId,
const RPC_SYNTAX_IDENTIFIER *TransferSyntax)
{
More information about the wine-cvs
mailing list