Make api_rpcTNP static to srv_pipe.c
authorVolker Lendecke <vl@samba.org>
Sat, 26 Jul 2008 09:25:24 +0000 (11:25 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 26 Jul 2008 09:25:24 +0000 (11:25 +0200)
(This used to be commit 256c93a8b3d4d9a4e52a656c91b89a043a087066)

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

index f31eee81a05476360872763b1ba7adde265019a6..47986ee5efb709892072f5d600a28ce64fac264c 100644 (file)
@@ -8826,8 +8826,6 @@ bool api_pipe_schannel_process(pipes_struct *p, prs_struct *rpc_in, uint32 *p_ss
 struct current_user *get_current_user(struct current_user *user, pipes_struct *p);
 void free_pipe_rpc_context( PIPE_RPC_FNS *list );
 bool api_pipe_request(pipes_struct *p);
-bool api_rpcTNP(pipes_struct *p, const char *rpc_name, 
-               const struct api_struct *api_rpc_cmds, int n_cmds);
 
 /* The following definitions come from rpc_server/srv_pipe_hnd.c  */
 
index 7b066d38304f523ad7505765662034b3c0285611..be7d3db4443e4d4bc6d2ad55e7d50e7e45f47d05 100644 (file)
@@ -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;