diff options
-rw-r--r-- | source3/include/proto.h | 4 | ||||
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 70a2102163..ebb3432163 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4742,10 +4742,6 @@ NTSTATUS rpc_pipe_register_commands(int version, const char *clnt, const struct ndr_syntax_id *interface, const struct api_struct *cmds, int size); bool is_known_pipename(const char *cli_filename, struct ndr_syntax_id *syntax); -bool api_pipe_bind_req(struct pipes_struct *p, struct ncacn_packet *pkt); -bool api_pipe_alter_context(struct pipes_struct *p, struct ncacn_packet *pkt); -void free_pipe_rpc_context( PIPE_RPC_FNS *list ); -bool api_pipe_request(struct pipes_struct *p, struct ncacn_packet *pkt); /* The following definitions come from rpc_server/srv_pipe_hnd.c */ diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index e704d758d7..18414f0642 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -982,7 +982,8 @@ static bool pipe_ntlmssp_auth_bind(struct pipes_struct *p, Respond to a pipe bind request. *******************************************************************/ -bool api_pipe_bind_req(struct pipes_struct *p, struct ncacn_packet *pkt) +static bool api_pipe_bind_req(struct pipes_struct *p, + struct ncacn_packet *pkt) { struct dcerpc_auth auth_info; uint16 assoc_gid; @@ -1263,7 +1264,8 @@ bool api_pipe_bind_req(struct pipes_struct *p, struct ncacn_packet *pkt) SPNEGO calls. ****************************************************************************/ -bool api_pipe_alter_context(struct pipes_struct *p, struct ncacn_packet *pkt) +static bool api_pipe_alter_context(struct pipes_struct *p, + struct ncacn_packet *pkt) { struct dcerpc_auth auth_info; uint16 assoc_gid; @@ -1481,7 +1483,7 @@ static PIPE_RPC_FNS* find_pipe_fns_by_context( PIPE_RPC_FNS *list, uint32 contex Memory cleanup. ****************************************************************************/ -void free_pipe_rpc_context( PIPE_RPC_FNS *list ) +static void free_pipe_rpc_context( PIPE_RPC_FNS *list ) { PIPE_RPC_FNS *tmp = list; PIPE_RPC_FNS *tmp2; @@ -1504,7 +1506,8 @@ static bool api_rpcTNP(struct pipes_struct *p, struct ncacn_packet *pkt, before doing the call. ****************************************************************************/ -bool api_pipe_request(struct pipes_struct *p, struct ncacn_packet *pkt) +static bool api_pipe_request(struct pipes_struct *p, + struct ncacn_packet *pkt) { bool ret = False; bool changed_user = False; |