diff options
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/rpc_server/rpc_ncacn_np_internal.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b19f985a85..d23b18c1f3 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4345,6 +4345,7 @@ bool is_known_pipename(const char *cli_filename, struct ndr_syntax_id *syntax); struct pipes_struct *get_first_internal_pipe(void); struct pipes_struct *get_next_internal_pipe(struct pipes_struct *p); bool check_open_pipes(void); +int close_internal_rpc_pipe_hnd(struct pipes_struct *p); bool fsp_is_np(struct files_struct *fsp); struct tsocket_address; diff --git a/source3/rpc_server/rpc_ncacn_np_internal.c b/source3/rpc_server/rpc_ncacn_np_internal.c index 0cbbf50003..8253f65bb7 100644 --- a/source3/rpc_server/rpc_ncacn_np_internal.c +++ b/source3/rpc_server/rpc_ncacn_np_internal.c @@ -40,8 +40,6 @@ static struct pipes_struct *InternalPipes; * system _anyway_. so that's the next step... */ -static int close_internal_rpc_pipe_hnd(struct pipes_struct *p); - /**************************************************************************** Internal Pipe iterator functions. ****************************************************************************/ @@ -86,7 +84,7 @@ bool check_open_pipes(void) Close an rpc pipe. ****************************************************************************/ -static int close_internal_rpc_pipe_hnd(struct pipes_struct *p) +int close_internal_rpc_pipe_hnd(struct pipes_struct *p) { if (!p) { DEBUG(0,("Invalid pipe in close_internal_rpc_pipe_hnd\n")); |