summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-08-02 10:28:10 -0400
committerSimo Sorce <idra@samba.org>2010-08-17 06:33:13 -0400
commit7b12513d125e13a4db3f32adc05030fbb302f510 (patch)
tree44989732e1b8ec577d130f1545c2dfeeb66ec47d /source3/rpc_server
parent9a9a38c666a8285fdfac35758aa85f5d33ba6e95 (diff)
downloadsamba-7b12513d125e13a4db3f32adc05030fbb302f510.tar.gz
samba-7b12513d125e13a4db3f32adc05030fbb302f510.tar.bz2
samba-7b12513d125e13a4db3f32adc05030fbb302f510.zip
s3-dcerpc: make a few local functions as static
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe.c11
1 files changed, 7 insertions, 4 deletions
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;