mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
Make get_rpc_pipe() static
This commit is contained in:
parent
6b98c1b159
commit
f25972832e
@ -8712,7 +8712,6 @@ 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,
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user