--- src/sys/vfs/hammer/hammer_disk.h 2008/06/01 21:05:39 1.34 +++ src/sys/vfs/hammer/hammer_disk.h 2008/06/07 07:41:51 1.35 @@ -253,6 +253,8 @@ struct hammer_blockmap_layer1 { hammer_crc_t layer1_crc; /* MUST BE LAST FIELD OF STRUCTURE*/ }; +typedef struct hammer_blockmap_layer1 *hammer_blockmap_layer1_t; + #define HAMMER_LAYER1_CRCSIZE \ offsetof(struct hammer_blockmap_layer1, layer1_crc) @@ -265,6 +267,8 @@ struct hammer_blockmap_layer2 { hammer_crc_t entry_crc; }; +typedef struct hammer_blockmap_layer2 *hammer_blockmap_layer2_t; + #define HAMMER_LAYER2_CRCSIZE \ offsetof(struct hammer_blockmap_layer2, entry_crc)