auth3: make make_auth_context_subsystem() static
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Mar 2017 11:31:01 +0000 (12:31 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 24 Mar 2017 10:57:09 +0000 (11:57 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/auth/auth.c
source3/auth/proto.h

index ed42740a82dd880f8e02ac064284781e46d1dee8..ef8fcef10104775d60818cecde6c21e5120e2444 100644 (file)
@@ -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;
index 92b2a8508528933b5742b15d41de3287567d36e1..11013461f3f2cad99c5ffac915bc9487873d2437 100644 (file)
@@ -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,