1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-24 10:50:22 +03:00

auth3: Make load_auth_module() static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2021-04-14 12:33:09 +02:00 committed by Jeremy Allison
parent 8b6c6fd17c
commit d145453572
2 changed files with 4 additions and 6 deletions

View File

@ -404,9 +404,10 @@ static NTSTATUS make_auth_context(TALLOC_CTX *mem_ctx,
return NT_STATUS_OK;
}
bool load_auth_module(struct auth_context *auth_context,
const char *module,
struct auth_methods **ret)
static bool load_auth_module(
struct auth_context *auth_context,
const char *module,
struct auth_methods **ret)
{
static bool initialised_static_modules = False;

View File

@ -36,9 +36,6 @@
/* The following definitions come from auth/auth.c */
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,
struct auth_methods **ret) ;
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,