s3:rpc_client: make rpc_api_pipe_req_send/recv static
authorStefan Metzmacher <metze@samba.org>
Sun, 5 Jan 2014 05:31:44 +0000 (06:31 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 6 Jan 2014 23:27:11 +0000 (00:27 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_client/cli_pipe.c
source3/rpc_client/cli_pipe.h

index 65e3f781891dabfb4d7aa9f42e1bafe2b282322b..11e3eb3f29ebd5d7c1e912cbc25444be55bedcb8 100644 (file)
@@ -1150,7 +1150,7 @@ static void rpc_api_pipe_req_done(struct tevent_req *subreq);
 static NTSTATUS prepare_next_frag(struct rpc_api_pipe_req_state *state,
                                  bool *is_last_frag);
 
-struct tevent_req *rpc_api_pipe_req_send(TALLOC_CTX *mem_ctx,
+static struct tevent_req *rpc_api_pipe_req_send(TALLOC_CTX *mem_ctx,
                                         struct tevent_context *ev,
                                         struct rpc_pipe_client *cli,
                                         uint8_t op_num,
@@ -1363,7 +1363,7 @@ static void rpc_api_pipe_req_done(struct tevent_req *subreq)
        tevent_req_done(req);
 }
 
-NTSTATUS rpc_api_pipe_req_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
+static NTSTATUS rpc_api_pipe_req_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
                               DATA_BLOB *reply_pdu)
 {
        struct rpc_api_pipe_req_state *state = tevent_req_data(
index e38767d5daa0591b9e49c4279bc814c657633de7..1bfb551cf391f6a5e2d20b927b7b497fc6fc920e 100644 (file)
 
 /* The following definitions come from rpc_client/cli_pipe.c  */
 
-struct tevent_req *rpc_api_pipe_req_send(TALLOC_CTX *mem_ctx,
-                                        struct tevent_context *ev,
-                                        struct rpc_pipe_client *cli,
-                                        uint8_t op_num,
-                                        DATA_BLOB *req_data);
-
-NTSTATUS rpc_api_pipe_req_recv(struct tevent_req *req,
-                              TALLOC_CTX *mem_ctx,
-                              DATA_BLOB *reply_pdu);
-
 struct tevent_req *rpc_pipe_bind_send(TALLOC_CTX *mem_ctx,
                                      struct tevent_context *ev,
                                      struct rpc_pipe_client *cli,