X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb2%2Fprivate.h;h=c4f8cebd1de4abd354d432a502d0f395479013d8;hb=0aa58f6e6017138a78ce4e86fb758732719acaca;hp=e2982bc5aac6cb49ac5c0118736f5c7b536e94c7;hpb=a2083afe4b327a542649b719e88178279fb5dc88;p=ccan diff --git a/ccan/tdb2/private.h b/ccan/tdb2/private.h index e2982bc5..c4f8cebd 100644 --- a/ccan/tdb2/private.h +++ b/ccan/tdb2/private.h @@ -1,6 +1,6 @@ #ifndef TDB_PRIVATE_H #define TDB_PRIVATE_H - /* + /* Trivial Database 2: private types and prototypes Copyright (C) Rusty Russell 2010 @@ -325,7 +325,7 @@ struct tdb_context { int mmap_flags; /* Error code for last tdb error. */ - enum TDB_ERROR ecode; + enum TDB_ERROR ecode; /* the flags passed to tdb_open, for tdb_reopen. */ uint32_t flags; @@ -361,7 +361,7 @@ struct tdb_context { /* Single list of all TDBs, to avoid multiple opens. */ struct tdb_context *next; - dev_t device; + dev_t device; ino_t inode; };