windbindd: Make cm_connect_lsa_tcp static
authorChristof Schmitt <cs@samba.org>
Fri, 3 Oct 2014 17:36:02 +0000 (10:36 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 4 Oct 2014 00:34:48 +0000 (02:34 +0200)
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

source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_proto.h

index 3a9780ebedb87c97e24ff6846b0204e4ac534e06..43147cb7d960c1c85676f2a82f8936c1af2b50f1 100644 (file)
@@ -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;
index 3081aa161cf3c1900062b16ea15d6fbb7fad2fe5..9ba379ead492cd8006d3937805f84dc429f1ab86 100644 (file)
@@ -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,