summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-01-05 06:31:44 +0100
committerStefan Metzmacher <metze@samba.org>2014-01-07 00:27:11 +0100
commit946e29dbc148d40fadbee81d4d530a36c0f2f1e6 (patch)
treed0becfce3988985b6eb44c8e9c8812b4c773aa0a /source3
parent5b39a351a8ceb3bec04236ceb4b2fe10651958a9 (diff)
downloadsamba-946e29dbc148d40fadbee81d4d530a36c0f2f1e6.tar.gz
samba-946e29dbc148d40fadbee81d4d530a36c0f2f1e6.tar.xz
samba-946e29dbc148d40fadbee81d4d530a36c0f2f1e6.zip
s3:rpc_client: make rpc_api_pipe_req_send/recv static
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_pipe.c4
-rw-r--r--source3/rpc_client/cli_pipe.h10
2 files changed, 2 insertions, 12 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 65e3f781891..11e3eb3f29e 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -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(
diff --git a/source3/rpc_client/cli_pipe.h b/source3/rpc_client/cli_pipe.h
index e38767d5daa..1bfb551cf39 100644
--- a/source3/rpc_client/cli_pipe.h
+++ b/source3/rpc_client/cli_pipe.h
@@ -27,16 +27,6 @@
/* 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,