From: Andreas Schneider Date: Mon, 6 Jul 2020 09:05:59 +0000 (+0200) Subject: s3:libsmb: Make cli_cm_force_encryption_creds() static X-Git-Tag: talloc-2.3.2~774 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd1cacb6a28233d0a00b376f6bdc2164a0656bb0;p=thirdparty%2Fsamba.git s3:libsmb: Make cli_cm_force_encryption_creds() static Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 4495a027830..aff998f6187 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -43,9 +43,9 @@ Ensure a connection is encrypted. ********************************************************************/ -NTSTATUS cli_cm_force_encryption_creds(struct cli_state *c, - struct cli_credentials *creds, - const char *sharename) +static NTSTATUS cli_cm_force_encryption_creds(struct cli_state *c, + struct cli_credentials *creds, + const char *sharename) { uint16_t major, minor; uint32_t caplow, caphigh; diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index 850cf12c8a6..eeabcaa7463 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -123,9 +123,6 @@ struct cli_state *get_ipc_connect_master_ip(TALLOC_CTX *ctx, /* The following definitions come from libsmb/clidfs.c */ -NTSTATUS cli_cm_force_encryption_creds(struct cli_state *c, - struct cli_credentials *creds, - const char *sharename); NTSTATUS cli_cm_open(TALLOC_CTX *ctx, struct cli_state *referring_cli, const char *server,