summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-08-14 11:38:22 +0200
committerStefan Metzmacher <metze@samba.org>2013-08-15 09:07:07 +0200
commit80d4f64352c0ddacb9ee15d2b48a42a0b7929501 (patch)
tree524c117e3114784a33b2641d88e450084f828282 /source3
parentccf7b3719121e03ed06d15b9af5373eecba3e828 (diff)
downloadsamba-80d4f64352c0ddacb9ee15d2b48a42a0b7929501.tar.gz
samba-80d4f64352c0ddacb9ee15d2b48a42a0b7929501.tar.bz2
samba-80d4f64352c0ddacb9ee15d2b48a42a0b7929501.zip
s3:libsmb: make cli_tdis_send/recv static
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/cliconnect.c4
-rw-r--r--source3/libsmb/proto.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index f963edf678..a8769e5e71 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -2752,7 +2752,7 @@ struct cli_tdis_state {
static void cli_tdis_done(struct tevent_req *subreq);
-struct tevent_req *cli_tdis_send(TALLOC_CTX *mem_ctx,
+static struct tevent_req *cli_tdis_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct cli_state *cli)
{
@@ -2791,7 +2791,7 @@ static void cli_tdis_done(struct tevent_req *subreq)
tevent_req_done(req);
}
-NTSTATUS cli_tdis_recv(struct tevent_req *req)
+static NTSTATUS cli_tdis_recv(struct tevent_req *req)
{
return tevent_req_simple_recv_ntstatus(req);
}
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index 48496c8847..648bddaddc 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -75,10 +75,6 @@ NTSTATUS cli_tcon_andx(struct cli_state *cli, const char *share,
const char *dev, const char *pass, int passlen);
NTSTATUS cli_tree_connect(struct cli_state *cli, const char *share,
const char *dev, const char *pass, int passlen);
-struct tevent_req *cli_tdis_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct cli_state *cli);
-NTSTATUS cli_tdis_recv(struct tevent_req *req);
NTSTATUS cli_tdis(struct cli_state *cli);
NTSTATUS cli_connect_nb(const char *host, const struct sockaddr_storage *dest_ss,
uint16_t port, int name_type, const char *myname,