diff options
author | Volker Lendecke <vl@samba.org> | 2009-08-30 11:12:17 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-08-30 11:13:18 +0200 |
commit | 417927019856182c3bd09318def82a561ebc12a5 (patch) | |
tree | 5868be1a71fc8adce1a12adbe2ae78acd6be2481 /source3/winbindd/winbindd_idmap.c | |
parent | 0cae043b0c1d2fa55f6709230658155caaecb4fc (diff) | |
download | samba-417927019856182c3bd09318def82a561ebc12a5.tar.gz samba-417927019856182c3bd09318def82a561ebc12a5.tar.bz2 samba-417927019856182c3bd09318def82a561ebc12a5.zip |
s3:winbind: Fix bug 5626
Apparently the AIX compiler can't deal with sizeless array declarations
Diffstat (limited to 'source3/winbindd/winbindd_idmap.c')
-rw-r--r-- | source3/winbindd/winbindd_idmap.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/source3/winbindd/winbindd_idmap.c b/source3/winbindd/winbindd_idmap.c index c6b70f4edb..b1a06efa1e 100644 --- a/source3/winbindd/winbindd_idmap.c +++ b/source3/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(NULL, &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(NULL, &static_idmap_child, + idmap_dispatch_table, + "log.winbindd", "idmap"); +} |