summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-26 11:25:24 +0200
committerVolker Lendecke <vl@samba.org>2008-07-26 11:25:24 +0200
commit042600cbac2856b88b29b5589caebed9d699a8a3 (patch)
tree9a83294c7298716f52e3135ef2a066da259eaeb7 /source3/rpc_server
parent0fdffbc9595ac32969fbb30bc403b426af7a82d3 (diff)
downloadsamba-042600cbac2856b88b29b5589caebed9d699a8a3.tar.gz
samba-042600cbac2856b88b29b5589caebed9d699a8a3.tar.bz2
samba-042600cbac2856b88b29b5589caebed9d699a8a3.zip
Make api_rpcTNP static to srv_pipe.c
(This used to be commit 256c93a8b3d4d9a4e52a656c91b89a043a087066)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 7b066d3830..be7d3db444 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -2284,6 +2284,9 @@ void free_pipe_rpc_context( PIPE_RPC_FNS *list )
return;
}
+static bool api_rpcTNP(pipes_struct *p, const char *rpc_name,
+ const struct api_struct *api_rpc_cmds, int n_cmds);
+
/****************************************************************************
Find the correct RPC function to call for this request.
If the pipe is authenticated then become the correct UNIX user
@@ -2333,8 +2336,8 @@ bool api_pipe_request(pipes_struct *p)
Calls the underlying RPC function for a named pipe.
********************************************************************/
-bool api_rpcTNP(pipes_struct *p, const char *rpc_name,
- const struct api_struct *api_rpc_cmds, int n_cmds)
+static bool api_rpcTNP(pipes_struct *p, const char *rpc_name,
+ const struct api_struct *api_rpc_cmds, int n_cmds)
{
int fn_num;
fstring name;