diff options
author | Simo Sorce <idra@samba.org> | 2010-08-02 10:28:10 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-08-17 06:33:13 -0400 |
commit | 7b12513d125e13a4db3f32adc05030fbb302f510 (patch) | |
tree | 44989732e1b8ec577d130f1545c2dfeeb66ec47d /source3 | |
parent | 9a9a38c666a8285fdfac35758aa85f5d33ba6e95 (diff) | |
download | samba-7b12513d125e13a4db3f32adc05030fbb302f510.tar.gz samba-7b12513d125e13a4db3f32adc05030fbb302f510.tar.bz2 samba-7b12513d125e13a4db3f32adc05030fbb302f510.zip |
s3-dcerpc: make a few local functions as static
Diffstat (limited to 'source3')
-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; |