X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb2%2Fprivate.h;h=cc3bd6a96ba2d44ab3993b813119f2fac882e6fa;hb=444fade529f68eb2b0aebbc8de442478c5c6f916;hp=4d0dfd775de13f7c2770397fa20ab5bd057f956d;hpb=937d0babe99dcd315040a9e48430140e63e4a7df;p=ccan 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;