summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-28 16:55:57 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-28 20:29:01 +0200
commit92b7e3ee58d4c37d81103fcdab79184a84b084dc (patch)
tree3de6f7405d5d09bee99bd1191e86060d9823dcfd /source3/libsmb
parent74adebe8d98122fc93365886e857eb03570f52b2 (diff)
downloadsamba-92b7e3ee58d4c37d81103fcdab79184a84b084dc.tar.gz
samba-92b7e3ee58d4c37d81103fcdab79184a84b084dc.tar.bz2
samba-92b7e3ee58d4c37d81103fcdab79184a84b084dc.zip
s3:libsmb: make cli_session_request_send/recv() static
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Aug 28 20:29:01 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/smbsock_connect.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/libsmb/smbsock_connect.c b/source3/libsmb/smbsock_connect.c
index 1c9db84738..1bb076eee6 100644
--- a/source3/libsmb/smbsock_connect.c
+++ b/source3/libsmb/smbsock_connect.c
@@ -37,11 +37,11 @@ struct cli_session_request_state {
static void cli_session_request_sent(struct tevent_req *subreq);
static void cli_session_request_recvd(struct tevent_req *subreq);
-struct tevent_req *cli_session_request_send(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev,
- int sock,
- const struct nmb_name *called,
- const struct nmb_name *calling)
+static struct tevent_req *cli_session_request_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ int sock,
+ const struct nmb_name *called,
+ const struct nmb_name *calling)
{
struct tevent_req *req, *subreq;
struct cli_session_request_state *state;
@@ -140,7 +140,7 @@ static void cli_session_request_recvd(struct tevent_req *subreq)
tevent_req_done(req);
}
-bool cli_session_request_recv(struct tevent_req *req, int *err, uint8_t *resp)
+static bool cli_session_request_recv(struct tevent_req *req, int *err, uint8_t *resp)
{
struct cli_session_request_state *state = tevent_req_data(
req, struct cli_session_request_state);