summaryrefslogtreecommitdiff
path: root/lib/tdb2/private.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb2/private.h')
-rw-r--r--lib/tdb2/private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tdb2/private.h b/lib/tdb2/private.h
index d7db41bf74..7c051121d7 100644
--- a/lib/tdb2/private.h
+++ b/lib/tdb2/private.h
@@ -310,9 +310,6 @@ struct tdb_access_hdr {
};
struct tdb_file {
- /* Single list of all TDBs, to detect multiple opens. */
- struct tdb_file *next;
-
/* How many are sharing us? */
unsigned int refcnt;
@@ -337,6 +334,9 @@ struct tdb_file {
};
struct tdb_context {
+ /* Single list of all TDBs, to detect multiple opens. */
+ struct tdb_context *next;
+
/* Filename of the database. */
const char *name;