From 15840955cb5bcb7ec74c396852299776e94ccd0f Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Fri, 3 Oct 2014 10:36:02 -0700 Subject: [PATCH] windbindd: Make cm_connect_lsa_tcp static It is only used in winbindd_cm.c Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sat Oct 4 02:34:49 CEST 2014 on sn-devel-104 --- source3/winbindd/winbindd_cm.c | 6 +++--- 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 3a9780ebedb..43147cb7d96 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 3081aa161cf..9ba379ead49 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, -- 2.34.1