summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/common/io.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-09-24 06:53:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:50 -0500
commitddf733fc58f29d7315045d6d886ebebe32fd4ee7 (patch)
tree8f96f63189651f4387543c2c9f88e55fec9b53ce /source4/lib/tdb/common/io.c
parent3bcfc68e0d158b272e0ef87bf585f79a570136ba (diff)
downloadsamba-ddf733fc58f29d7315045d6d886ebebe32fd4ee7.tar.gz
samba-ddf733fc58f29d7315045d6d886ebebe32fd4ee7.tar.bz2
samba-ddf733fc58f29d7315045d6d886ebebe32fd4ee7.zip
r10469: use the older style of structure initialisation for tdb to make it
more portable. tdb is used in more than just Samba4, and I think the portability/readability balance is a bit different (This used to be commit fc692dc61f06d61cb9126d2a8ccc240cecd11da6)
Diffstat (limited to 'source4/lib/tdb/common/io.c')
-rw-r--r--source4/lib/tdb/common/io.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/lib/tdb/common/io.c b/source4/lib/tdb/common/io.c
index 355f76962f..0a910270c9 100644
--- a/source4/lib/tdb/common/io.c
+++ b/source4/lib/tdb/common/io.c
@@ -395,12 +395,12 @@ int tdb_rec_write(struct tdb_context *tdb, tdb_off_t offset, struct list_struct
}
static const struct tdb_methods io_methods = {
- .tdb_read = tdb_read,
- .tdb_write = tdb_write,
- .next_hash_chain = tdb_next_hash_chain,
- .tdb_oob = tdb_oob,
- .tdb_expand_file = tdb_expand_file,
- .tdb_brlock = tdb_brlock
+ tdb_read,
+ tdb_write,
+ tdb_next_hash_chain,
+ tdb_oob,
+ tdb_expand_file,
+ tdb_brlock
};
/*