Revert "Make get_rpc_pipe() static"
authorVolker Lendecke <vl@samba.org>
Sun, 12 Oct 2008 10:16:18 +0000 (12:16 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 12 Oct 2008 10:16:18 +0000 (12:16 +0200)
This reverts commit f25972832ec9d5a130da9dc060f4c3ed35bda7db.

source3/include/proto.h
source3/rpc_server/srv_pipe_hnd.c

index e4ea3d1968cab7c2c83b010ddcadd317500c491c..08c1e2c81043b28b6f5260b041f2a1a0c09645b5 100644 (file)
@@ -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);
 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,
 struct pipes_struct *make_internal_rpc_pipe_p(const char *pipe_name,
                                              const char *client_address,
                                              struct auth_serversupplied_info *server_info,
index e52434fff573e2e06ef9a703b447f7ae7247a8a8..c55e3287051965047ddbc232b2e7167932066b27 100644 (file)
@@ -1207,8 +1207,6 @@ static int close_internal_rpc_pipe_hnd(struct pipes_struct *p)
        return True;
 }
 
        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.
 ****************************************************************************/
 /****************************************************************************
  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.
 ****************************************************************************/
 
  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;
 
 {
        smb_np_struct *p;