Make check_bind_req static to rpc_server/srv_pipe.c
authorVolker Lendecke <vl@samba.org>
Sun, 5 Jul 2009 07:43:23 +0000 (09:43 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 5 Jul 2009 21:50:12 +0000 (23:50 +0200)
source3/include/proto.h
source3/rpc_server/srv_pipe.c

index 955a5a0947f7e6481b076569415e9096996829c2..de65409275e8896264ccd8ae94ebfdd87286c43c 100644 (file)
@@ -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,
index f3ee18da5a50f1f85d3c40861e2cb1103b8087f5..73c95ebaa3f74dc05249e95a4c86c88760ed732d 100644 (file)
@@ -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;