summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-05 09:43:23 +0200
committerVolker Lendecke <vl@samba.org>2009-07-05 23:50:12 +0200
commit30dd96e8193254f05c1aa05a70a68b65c4d036b6 (patch)
tree89deb0478da6156848b108247118fbc5feef3817 /source3
parentf2998feb8e6444a93b9efab5c9dc1b29f62a4baa (diff)
downloadsamba-30dd96e8193254f05c1aa05a70a68b65c4d036b6.tar.gz
samba-30dd96e8193254f05c1aa05a70a68b65c4d036b6.tar.bz2
samba-30dd96e8193254f05c1aa05a70a68b65c4d036b6.zip
Make check_bind_req static to rpc_server/srv_pipe.c
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/rpc_server/srv_pipe.c4
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;