summaryrefslogtreecommitdiff
path: root/source4/auth/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth.c')
-rw-r--r--source4/auth/auth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c
index 57e2c050c1..b74bbc3371 100644
--- a/source4/auth/auth.c
+++ b/source4/auth/auth.c
@@ -443,9 +443,8 @@ static int num_backends;
The 'name' can be later used by other backends to find the operations
structure for this backend.
*/
-NTSTATUS auth_register(const void *_ops)
+NTSTATUS auth_register(const struct auth_operations *ops)
{
- const struct auth_operations *ops = _ops;
struct auth_operations *new_ops;
if (auth_backend_byname(ops->name) != NULL) {