summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-10-12 12:16:18 +0200
committerVolker Lendecke <vl@samba.org>2008-10-12 12:16:18 +0200
commit756b4b6048f718b5c34af105dd670059f7b83882 (patch)
tree698311ece21548bbca3b21ef662865a53e2a6b9a
parentf25972832ec9d5a130da9dc060f4c3ed35bda7db (diff)
downloadsamba-756b4b6048f718b5c34af105dd670059f7b83882.tar.gz
samba-756b4b6048f718b5c34af105dd670059f7b83882.tar.bz2
samba-756b4b6048f718b5c34af105dd670059f7b83882.zip
Revert "Make get_rpc_pipe() static"
This reverts commit f25972832ec9d5a130da9dc060f4c3ed35bda7db.
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e4ea3d1968..08c1e2c810 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -8712,6 +8712,7 @@ bool set_rpc_pipe_hnd_state(smb_np_struct *p, uint16 device_state);
bool close_rpc_pipe_hnd(smb_np_struct *p);
void pipe_close_conn(connection_struct *conn);
smb_np_struct *get_rpc_pipe_p(uint16 pnum);
+smb_np_struct *get_rpc_pipe(int pnum);
struct pipes_struct *make_internal_rpc_pipe_p(const char *pipe_name,
const char *client_address,
struct auth_serversupplied_info *server_info,
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index e52434fff5..c55e328705 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -1207,8 +1207,6 @@ 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.
****************************************************************************/
@@ -1226,7 +1224,7 @@ smb_np_struct *get_rpc_pipe_p(uint16 pnum)
Find an rpc pipe given a pipe handle.
****************************************************************************/
-static smb_np_struct *get_rpc_pipe(int pnum)
+smb_np_struct *get_rpc_pipe(int pnum)
{
smb_np_struct *p;