summaryrefslogtreecommitdiff
path: root/examples/auth/auth_skel.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/auth/auth_skel.c')
-rw-r--r--examples/auth/auth_skel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/auth/auth_skel.c b/examples/auth/auth_skel.c
index 4352251f4a..3f3379f0e9 100644
--- a/examples/auth/auth_skel.c
+++ b/examples/auth/auth_skel.c
@@ -42,7 +42,7 @@ static NTSTATUS check_skel_security(const struct auth_context *auth_context,
}
/* module initialisation */
-NTSTATUS auth_init_skel(struct auth_context *auth_context, const char *param, auth_methods **auth_method)
+static NTSTATUS auth_init_skel(struct auth_context *auth_context, const char *param, auth_methods **auth_method)
{
struct auth_methods *result;
@@ -67,7 +67,8 @@ NTSTATUS auth_init_skel(struct auth_context *auth_context, const char *param, au
return NT_STATUS_OK;
}
-NTSTATUS init_module(void)
+NTSTATUS auth_skel_init(void);
+NTSTATUS auth_skel_init(void)
{
return smb_register_auth(AUTH_INTERFACE_VERSION, "skel", auth_init_skel);
}