summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-08-14 11:48:40 +0200
committerStefan Metzmacher <metze@samba.org>2013-08-15 09:07:07 +0200
commit1d7bdfc4feac35d92b003c3c78f502897ecc5d4e (patch)
treee7dfde02de670f3b09a5fc0480db2ebe720fedef /source3/libsmb
parente6be68fb5e4dc528f7365f3413b9b66090992f42 (diff)
downloadsamba-1d7bdfc4feac35d92b003c3c78f502897ecc5d4e.tar.gz
samba-1d7bdfc4feac35d92b003c3c78f502897ecc5d4e.tar.bz2
samba-1d7bdfc4feac35d92b003c3c78f502897ecc5d4e.zip
s3:libsmb: make cli_ulogoff_send/recv static
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb')
-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 26317d8031..b91c3ebe43 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -2240,7 +2240,7 @@ struct cli_ulogoff_state {
static void cli_ulogoff_done(struct tevent_req *subreq);
-struct tevent_req *cli_ulogoff_send(TALLOC_CTX *mem_ctx,
+static struct tevent_req *cli_ulogoff_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct cli_state *cli)
{
@@ -2283,7 +2283,7 @@ static void cli_ulogoff_done(struct tevent_req *subreq)
tevent_req_done(req);
}
-NTSTATUS cli_ulogoff_recv(struct tevent_req *req)
+static NTSTATUS cli_ulogoff_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 648bddaddc..a1389ff465 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -54,10 +54,6 @@ struct tevent_req *cli_session_setup_guest_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct cli_state *cli);
NTSTATUS cli_session_setup_guest_recv(struct tevent_req *req);
-struct tevent_req *cli_ulogoff_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- struct cli_state *cli);
-NTSTATUS cli_ulogoff_recv(struct tevent_req *req);
NTSTATUS cli_ulogoff(struct cli_state *cli);
struct tevent_req *cli_tcon_andx_create(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,