diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-04-01 07:39:04 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2004-04-01 07:39:04 +0000 |
commit | 05d10eba1f6142219638bf9b859d07b5bb175f72 (patch) | |
tree | 1bc5e2c480c9272c662dc6fbe226081a20244a88 /source4/lib/tdb | |
parent | e5b5c1be45a68afaea867694301256ad0cc69e99 (diff) | |
download | samba-05d10eba1f6142219638bf9b859d07b5bb175f72.tar.gz samba-05d10eba1f6142219638bf9b859d07b5bb175f72.tar.bz2 samba-05d10eba1f6142219638bf9b859d07b5bb175f72.zip |
allow "struct TDB_DATA" as well as just "TDB_DATA"
in general I prefer the struct form for Samba4 structures. I think its
clearer.
(This used to be commit 63b26557744ce4cbf5c9419f752fbd63ed8bfec6)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r-- | source4/lib/tdb/tdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tdb.h b/source4/lib/tdb/tdb.h index 169de5f87d..281925068c 100644 --- a/source4/lib/tdb/tdb.h +++ b/source4/lib/tdb/tdb.h @@ -57,7 +57,7 @@ enum TDB_ERROR {TDB_SUCCESS=0, TDB_ERR_CORRUPT, TDB_ERR_IO, TDB_ERR_LOCK, #define u32 unsigned #endif -typedef struct { +typedef struct TDB_DATA { char *dptr; size_t dsize; } TDB_DATA; |