allow "struct TDB_DATA" as well as just "TDB_DATA"
authorAndrew Tridgell <tridge@samba.org>
Thu, 1 Apr 2004 07:39:04 +0000 (07:39 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 1 Apr 2004 07:39:04 +0000 (07:39 +0000)
in general I prefer the struct form for Samba4 structures. I think its
clearer.
(This used to be commit 63b26557744ce4cbf5c9419f752fbd63ed8bfec6)

source4/lib/tdb/tdb.h

index 169de5f87d548c42b9f421cc84a0bbbebf461ba2..281925068c8a93c5ed0b9658299c46d637830659 100644 (file)
@@ -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;