From: Stefan Metzmacher Date: Fri, 17 Mar 2017 11:31:01 +0000 (+0100) Subject: auth3: make make_auth_context_subsystem() static X-Git-Tag: tdb-1.3.13~370 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=29dc515be9cfac3a47d9c0a0b03858f7c8eedd90;p=samba.git auth3: make make_auth_context_subsystem() static BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976 Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/source3/auth/auth.c b/source3/auth/auth.c index ed42740a82d..ef8fcef1010 100644 --- a/source3/auth/auth.c +++ b/source3/auth/auth.c @@ -483,8 +483,8 @@ static NTSTATUS make_auth_context_specific(TALLOC_CTX *mem_ctx, Make a auth_context struct for the auth subsystem ***************************************************************************/ -NTSTATUS make_auth_context_subsystem(TALLOC_CTX *mem_ctx, - struct auth_context **auth_context) +static NTSTATUS make_auth_context_subsystem(TALLOC_CTX *mem_ctx, + struct auth_context **auth_context) { const char *methods = NULL; NTSTATUS nt_status; diff --git a/source3/auth/proto.h b/source3/auth/proto.h index 92b2a850852..11013461f3f 100644 --- a/source3/auth/proto.h +++ b/source3/auth/proto.h @@ -38,8 +38,6 @@ NTSTATUS smb_register_auth(int version, const char *name, auth_init_function init); bool load_auth_module(struct auth_context *auth_context, const char *module, auth_methods **ret) ; -NTSTATUS make_auth_context_subsystem(TALLOC_CTX *mem_ctx, - struct auth_context **auth_context); NTSTATUS make_auth3_context_for_ntlm(TALLOC_CTX *mem_ctx, struct auth_context **auth_context); NTSTATUS make_auth3_context_for_netlogon(TALLOC_CTX *mem_ctx,