X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Fprivate.h;h=cc3bd6a96ba2d44ab3993b813119f2fac882e6fa;hp=4d0dfd775de13f7c2770397fa20ab5bd057f956d;hb=2414f261918b4fb8a549dd385dba32118e37bf85;hpb=937d0babe99dcd315040a9e48430140e63e4a7df diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index 4d0dfd77..cc3bd6a9 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -298,9 +298,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; @@ -325,6 +322,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;