summaryrefslogtreecommitdiffstats
path: root/source/winbindd/winbindd_idmap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-30 11:06:14 +0200
committerKarolin Seeger <kseeger@samba.org>2010-02-24 16:25:10 +0100
commit8a002075e13578fe861e2db90284975df0fa0ba3 (patch)
tree608d50072cefa0d11a59bf6d0a9aca91c6421b1c /source/winbindd/winbindd_idmap.c
parente9fb545b5888c4627dae56d53ec61c778182c21f (diff)
downloadsamba-8a002075e13578fe861e2db90284975df0fa0ba3.tar.gz
samba-8a002075e13578fe861e2db90284975df0fa0ba3.tar.xz
samba-8a002075e13578fe861e2db90284975df0fa0ba3.zip
s3:winbind: Fix bug 5626
Apparently the AIX compiler can't deal with sizeless array declarations (cherry picked from commit dd4194bc43cc5efd7517783e5e524d252d1f82c7)
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");
+}