diff options
author | Christof Schmitt <cs@samba.org> | 2014-10-03 10:36:02 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-10-04 02:34:48 +0200 |
commit | 15840955cb5bcb7ec74c396852299776e94ccd0f (patch) | |
tree | ac45fd824220cc33b079ddd664af97f83f56d5ad | |
parent | 5da31a9260b592e84a4edbb9fd1a29e3d099e5b6 (diff) | |
download | samba-15840955cb5bcb7ec74c396852299776e94ccd0f.tar.gz samba-15840955cb5bcb7ec74c396852299776e94ccd0f.tar.xz samba-15840955cb5bcb7ec74c396852299776e94ccd0f.zip |
windbindd: Make cm_connect_lsa_tcp static
It is only used in winbindd_cm.c
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Oct 4 02:34:49 CEST 2014 on sn-devel-104
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 6 | ||||
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 3a9780ebed..43147cb7d9 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -2655,9 +2655,9 @@ NTSTATUS cm_connect_sam(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, open an schanneld ncacn_ip_tcp connection to LSA ***********************************************************************/ -NTSTATUS cm_connect_lsa_tcp(struct winbindd_domain *domain, - TALLOC_CTX *mem_ctx, - struct rpc_pipe_client **cli) +static NTSTATUS cm_connect_lsa_tcp(struct winbindd_domain *domain, + TALLOC_CTX *mem_ctx, + struct rpc_pipe_client **cli) { struct winbindd_cm_conn *conn; struct netlogon_creds_cli_context *creds; diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 3081aa161c..9ba379ead4 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -175,9 +175,6 @@ NTSTATUS cm_connect_sam(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, struct rpc_pipe_client **cli, struct policy_handle *sam_handle); NTSTATUS cm_connect_lsa(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, struct rpc_pipe_client **cli, struct policy_handle *lsa_policy); -NTSTATUS cm_connect_lsa_tcp(struct winbindd_domain *domain, - TALLOC_CTX *mem_ctx, - struct rpc_pipe_client **cli); NTSTATUS cm_connect_lsat(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, struct rpc_pipe_client **cli, |