summaryrefslogtreecommitdiffstats
path: root/source/winbindd/winbindd_domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/winbindd/winbindd_domain.c')
-rw-r--r--source/winbindd/winbindd_domain.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/source/winbindd/winbindd_domain.c b/source/winbindd/winbindd_domain.c
index 2e8c6175ca0..1b76bbdf27a 100644
--- a/source/winbindd/winbindd_domain.c
+++ b/source/winbindd/winbindd_domain.c
@@ -25,17 +25,6 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
-static const struct winbindd_child_dispatch_table domain_dispatch_table[];
-
-void setup_domain_child(struct winbindd_domain *domain,
- struct winbindd_child *child)
-{
- setup_child(child, domain_dispatch_table,
- "log.wb", domain->name);
-
- child->domain = domain;
-}
-
static const struct winbindd_child_dispatch_table domain_dispatch_table[] = {
{
.name = "LOOKUPSID",
@@ -117,3 +106,12 @@ static const struct winbindd_child_dispatch_table domain_dispatch_table[] = {
.name = NULL,
}
};
+
+void setup_domain_child(struct winbindd_domain *domain,
+ struct winbindd_child *child)
+{
+ setup_child(child, domain_dispatch_table,
+ "log.wb", domain->name);
+
+ child->domain = domain;
+}