From 417927019856182c3bd09318def82a561ebc12a5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 30 Aug 2009 11:12:17 +0200 Subject: s3:winbind: Fix bug 5626 Apparently the AIX compiler can't deal with sizeless array declarations --- source3/winbindd/winbindd_locator.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'source3/winbindd/winbindd_locator.c') diff --git a/source3/winbindd/winbindd_locator.c b/source3/winbindd/winbindd_locator.c index 7776c3dc97..59e8614fdb 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"); +} -- cgit