s3:rpc_client: make rpccli_schannel_bind_data() static
authorStefan Metzmacher <metze@samba.org>
Thu, 25 Apr 2013 16:27:57 +0000 (18:27 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 5 Aug 2013 08:30:02 +0000 (10:30 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_client/cli_pipe.c
source3/rpc_client/cli_pipe.h

index 1e296ee803116bf1ca3c7b6e281998cf072232b1..068510a3710dd52bb61882f4eb255de54c25dc3f 100644 (file)
@@ -2373,10 +2373,11 @@ static NTSTATUS rpccli_generic_bind_data(TALLOC_CTX *mem_ctx,
        return status;
 }
 
-NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, const char *domain,
-                                  enum dcerpc_AuthLevel auth_level,
-                                  struct netlogon_creds_CredentialState *creds,
-                                  struct pipe_auth_data **presult)
+static NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx,
+                               const char *domain,
+                               enum dcerpc_AuthLevel auth_level,
+                               struct netlogon_creds_CredentialState *creds,
+                               struct pipe_auth_data **presult)
 {
        struct schannel_state *schannel_auth;
        struct pipe_auth_data *result;
index 6fcc5873bfe499f4d787a036d0f6827d97c63788..8eb6040a1091409064edc8623b26672bdef5078f 100644 (file)
@@ -58,12 +58,6 @@ NTSTATUS rpccli_ncalrpc_bind_data(TALLOC_CTX *mem_ctx,
 NTSTATUS rpccli_anon_bind_data(TALLOC_CTX *mem_ctx,
                               struct pipe_auth_data **presult);
 
-NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx,
-                                  const char *domain,
-                                  enum dcerpc_AuthLevel auth_level,
-                                  struct netlogon_creds_CredentialState *creds,
-                                  struct pipe_auth_data **presult);
-
 NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx,
                           const char *host,
                           const struct sockaddr_storage *ss_addr,