summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-10-12 11:44:09 +0200
committerVolker Lendecke <vl@samba.org>2008-10-12 11:45:33 +0200
commitf25972832ec9d5a130da9dc060f4c3ed35bda7db (patch)
treec05d2fa7e6d80b928c89e3e2db47c4ee0b4680d6 /source3/rpc_server
parent6b98c1b1596504ae59b88f6e6da0c02fe30afa2d (diff)
downloadsamba-f25972832ec9d5a130da9dc060f4c3ed35bda7db.tar.gz
samba-f25972832ec9d5a130da9dc060f4c3ed35bda7db.tar.bz2
samba-f25972832ec9d5a130da9dc060f4c3ed35bda7db.zip
Make get_rpc_pipe() static
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index c55e328705..e52434fff5 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -1207,6 +1207,8 @@ static int close_internal_rpc_pipe_hnd(struct pipes_struct *p)
return True;
}
+static smb_np_struct *get_rpc_pipe(int pnum);
+
/****************************************************************************
Find an rpc pipe given a pipe handle in a buffer and an offset.
****************************************************************************/
@@ -1224,7 +1226,7 @@ smb_np_struct *get_rpc_pipe_p(uint16 pnum)
Find an rpc pipe given a pipe handle.
****************************************************************************/
-smb_np_struct *get_rpc_pipe(int pnum)
+static smb_np_struct *get_rpc_pipe(int pnum)
{
smb_np_struct *p;