From 4d0ec61e49b459b61fa45304e1ab434e7d337fc0 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 1 Sep 2005 07:37:13 +0000 Subject: r9880: Convert remaining initialisers to more portable form. This should clean out a lot of build farm breakage. (This used to be commit c34fbdc6c3fd2c066c713bdd84e6f40f6aa8cd43) --- source4/lib/ldb/modules/ldb_map.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/ldb/modules/ldb_map.c b/source4/lib/ldb/modules/ldb_map.c index 076aa4c1dc..423dab38bb 100644 --- a/source4/lib/ldb/modules/ldb_map.c +++ b/source4/lib/ldb/modules/ldb_map.c @@ -74,17 +74,21 @@ static const struct ldb_map_attribute builtin_attribute_maps[] = { .u = { .convert = { .remote_name = "dn", - } + .convert_local = map_convert_local_dn, + .convert_remote = map_convert_remote_dn, + }, }, - .u.convert.convert_local = map_convert_local_dn, - .u.convert.convert_remote = map_convert_remote_dn, }, { .local_name = "objectclass", .type = MAP_CONVERT, - .u.convert.remote_name = "objectclass", - .u.convert.convert_local = map_convert_local_objectclass, - .u.convert.convert_remote = map_convert_remote_objectclass, + .u = { + .convert = { + .remote_name = "objectclass", + .convert_local = map_convert_local_objectclass, + .convert_remote = map_convert_remote_objectclass, + }, + }, }, { .local_name = NULL, -- cgit