summaryrefslogtreecommitdiffstats
path: root/source/winbindd/winbindd_idmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/winbindd/winbindd_idmap.c')
-rw-r--r--source/winbindd/winbindd_idmap.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/source/winbindd/winbindd_idmap.c b/source/winbindd/winbindd_idmap.c
index 94a8c78a855..ae80c8a9d7c 100644
--- a/source/winbindd/winbindd_idmap.c
+++ b/source/winbindd/winbindd_idmap.c
@@ -38,17 +38,8 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
-static const struct winbindd_child_dispatch_table idmap_dispatch_table[];
-
static struct winbindd_child static_idmap_child;
-void init_idmap_child(void)
-{
- setup_child(&static_idmap_child,
- idmap_dispatch_table,
- "log.winbindd", "idmap");
-}
-
struct winbindd_child *idmap_child(void)
{
return &static_idmap_child;
@@ -564,3 +555,10 @@ static const struct winbindd_child_dispatch_table idmap_dispatch_table[] = {
.name = NULL,
}
};
+
+void init_idmap_child(void)
+{
+ setup_child(&static_idmap_child,
+ idmap_dispatch_table,
+ "log.winbindd", "idmap");
+}