From 30dd96e8193254f05c1aa05a70a68b65c4d036b6 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 5 Jul 2009 09:43:23 +0200 Subject: Make check_bind_req static to rpc_server/srv_pipe.c --- source3/include/proto.h | 2 -- source3/rpc_server/srv_pipe.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index 955a5a0947..de65409275 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5799,8 +5799,6 @@ bool create_next_pdu(pipes_struct *p); bool api_pipe_bind_auth3(pipes_struct *p, prs_struct *rpc_in_p); bool setup_fault_pdu(pipes_struct *p, NTSTATUS status); bool setup_cancel_ack_reply(pipes_struct *p, prs_struct *rpc_in_p); -bool check_bind_req(struct pipes_struct *p, RPC_IFACE* abstract, - RPC_IFACE* transfer, uint32 context_id); NTSTATUS rpc_pipe_register_commands(int version, const char *clnt, const char *srv, const struct ndr_syntax_id *interface, diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index f3ee18da5a..73c95ebaa3 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -950,8 +950,8 @@ bool setup_cancel_ack_reply(pipes_struct *p, prs_struct *rpc_in_p) Used to reject unknown binds from Win2k. *******************************************************************/ -bool check_bind_req(struct pipes_struct *p, RPC_IFACE* abstract, - RPC_IFACE* transfer, uint32 context_id) +static bool check_bind_req(struct pipes_struct *p, RPC_IFACE* abstract, + RPC_IFACE* transfer, uint32 context_id) { int i=0; struct pipe_rpc_fns *context_fns; -- cgit