Drop main() prototype. Syncs with NetBSD-8
[minix.git] / minix / fs / ext2 / buf.h
blobf1ffe10653158b31e5ce95130ca118bc23ab67ab
1 #ifndef EXT2_BUF_H
2 #define EXT2_BUF_H
4 union fsdata_u {
5 char b__data[1]; /* ordinary user data */
6 block_t b__ind[1]; /* indirect block */
7 bitchunk_t b__bitmap[1]; /* bit map block */
8 };
10 /* These defs make it possible to use to bp->b_data instead of bp->b.b__data */
11 #define b_data(bp) ((union fsdata_u *) bp->data)->b__data
12 #define b_ind(bp) ((union fsdata_u *) bp->data)->b__ind
13 #define b_bitmap(bp) ((union fsdata_u *) bp->data)->b__bitmap
15 #endif /* EXT2_BUF_H */