summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-01-03 13:47:14 +0100
committerGary Lockyer <gary@samba.org>2020-01-06 01:47:30 +0000
commit59cb155a27f21a55bdc588d38c8080cd29562a7e (patch)
treef18a3bfd662f65e27b1f826c016183d7fd4922fb /examples
parent33d4d482718fca10030b5a569f17cb1a2637fc8a (diff)
downloadsamba-59cb155a27f21a55bdc588d38c8080cd29562a7e.tar.gz
auth: Remove the "typedef auth_methods"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'examples')
-rw-r--r--examples/auth/auth_skel.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/auth/auth_skel.c b/examples/auth/auth_skel.c
index 6abd5ad4f7a..8734383aeeb 100644
--- a/examples/auth/auth_skel.c
+++ b/examples/auth/auth_skel.c
@@ -42,7 +42,10 @@ static NTSTATUS check_skel_security(const struct auth_context *auth_context,
}
/* module initialisation */
-static 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,
+ struct auth_methods **auth_method)
{
struct auth_methods *result;
@@ -56,7 +59,7 @@ static NTSTATUS auth_init_skel(struct auth_context *auth_context, const char *pa
if (param && *param) {
/* we load the 'fallback' module - if skel isn't here, call this
module */
- auth_methods *priv;
+ struct auth_methods *priv;
if (!load_auth_module(auth_context, param, &priv)) {
return NT_STATUS_UNSUCCESSFUL;
}