diff options
author | Volker Lendecke <vl@samba.org> | 2020-01-03 13:47:14 +0100 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2020-01-06 01:47:30 +0000 |
commit | 59cb155a27f21a55bdc588d38c8080cd29562a7e (patch) | |
tree | f18a3bfd662f65e27b1f826c016183d7fd4922fb /examples | |
parent | 33d4d482718fca10030b5a569f17cb1a2637fc8a (diff) | |
download | samba-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.c | 7 |
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; } |