s3: Remove the separate "child" argument from setup_domain_child()
[sfrench/samba-autobuild/.git] / source3 / winbindd / winbindd_domain.c
index 2cb6e31a9ef7238e28dec2a42f93a3dfc07b7cc5..4689b5f5dbe18983eb62dbe89fcb4d8675c9c90f 100644 (file)
@@ -79,9 +79,8 @@ static const struct winbindd_child_dispatch_table domain_dispatch_table[] = {
        }
 };
 
-void setup_domain_child(struct winbindd_domain *domain,
-                       struct winbindd_child *child)
+void setup_domain_child(struct winbindd_domain *domain)
 {
-       setup_child(domain, child, domain_dispatch_table,
+       setup_child(domain, &domain->child, domain_dispatch_table,
                    "log.wb", domain->name);
 }