diff options
author | Volker Lendecke <vl@samba.org> | 2009-07-05 10:21:39 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-07-05 23:50:12 +0200 |
commit | e77e21e0f14acf670b1fdc2411425223f03ed645 (patch) | |
tree | f0caeea4110fea4de8ef4e32560dc12c4ee301d5 /source3 | |
parent | 58fbf7420c184c95f8b9761a32392227848794cd (diff) | |
download | samba-e77e21e0f14acf670b1fdc2411425223f03ed645.tar.gz samba-e77e21e0f14acf670b1fdc2411425223f03ed645.tar.bz2 samba-e77e21e0f14acf670b1fdc2411425223f03ed645.zip |
Add const to init_rpc_hdr_ba
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/rpc_parse/parse_rpc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 40f0a1bbdc..e4bcdb5016 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5704,7 +5704,7 @@ void init_rpc_hdr_ba(RPC_HDR_BA *rpc, uint16 max_tsize, uint16 max_rsize, uint32 assoc_gid, const char *pipe_addr, uint8 num_results, uint16 result, uint16 reason, - struct ndr_syntax_id *transfer); + const struct ndr_syntax_id *transfer); bool smb_io_rpc_hdr_ba(const char *desc, RPC_HDR_BA *rpc, prs_struct *ps, int depth); void init_rpc_hdr_req(RPC_HDR_REQ *hdr, uint32 alloc_hint, uint16 opnum); bool smb_io_rpc_hdr_req(const char *desc, RPC_HDR_REQ *rpc, prs_struct *ps, int depth); diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c index 6942bf9060..651a5915b8 100644 --- a/source3/rpc_parse/parse_rpc.c +++ b/source3/rpc_parse/parse_rpc.c @@ -354,7 +354,7 @@ void init_rpc_hdr_ba(RPC_HDR_BA *rpc, uint16 max_tsize, uint16 max_rsize, uint32 assoc_gid, const char *pipe_addr, uint8 num_results, uint16 result, uint16 reason, - struct ndr_syntax_id *transfer) + const struct ndr_syntax_id *transfer) { init_rpc_hdr_bba (&rpc->bba, max_tsize, max_rsize, assoc_gid); init_rpc_addr_str(&rpc->addr, pipe_addr); |