summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_locator.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_locator.c')
-rw-r--r--source3/winbindd/winbindd_locator.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/source3/winbindd/winbindd_locator.c b/source3/winbindd/winbindd_locator.c
index 7776c3dc978..59e8614fdbc 100644
--- a/source3/winbindd/winbindd_locator.c
+++ b/source3/winbindd/winbindd_locator.c
@@ -27,17 +27,8 @@
#define DBGC_CLASS DBGC_WINBIND
-static const struct winbindd_child_dispatch_table locator_dispatch_table[];
-
static struct winbindd_child static_locator_child;
-void init_locator_child(void)
-{
- setup_child(NULL, &static_locator_child,
- locator_dispatch_table,
- "log.winbindd", "locator");
-}
-
struct winbindd_child *locator_child(void)
{
return &static_locator_child;
@@ -56,3 +47,10 @@ static const struct winbindd_child_dispatch_table locator_dispatch_table[] = {
.name = NULL,
}
};
+
+void init_locator_child(void)
+{
+ setup_child(NULL, &static_locator_child,
+ locator_dispatch_table,
+ "log.winbindd", "locator");
+}