summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/tdb/common/io.c12
-rw-r--r--source4/lib/tdb/common/transaction.c12
2 files changed, 12 insertions, 12 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
};
/*
diff --git a/source4/lib/tdb/common/transaction.c b/source4/lib/tdb/common/transaction.c
index 73c0587a40..fdcba110c2 100644
--- a/source4/lib/tdb/common/transaction.c
+++ b/source4/lib/tdb/common/transaction.c
@@ -337,12 +337,12 @@ int transaction_brlock(struct tdb_context *tdb, tdb_off_t offset,
}
static const struct tdb_methods transaction_methods = {
- .tdb_read = transaction_read,
- .tdb_write = transaction_write,
- .next_hash_chain = transaction_next_hash_chain,
- .tdb_oob = transaction_oob,
- .tdb_expand_file = transaction_expand_file,
- .tdb_brlock = transaction_brlock
+ transaction_read,
+ transaction_write,
+ transaction_next_hash_chain,
+ transaction_oob,
+ transaction_expand_file,
+ transaction_brlock
};