protoypes for the dos_partition encoding functions.
This commit is contained in:
parent
09bb4feff1
commit
453902424c
@ -66,10 +66,12 @@ struct dos_partition {
|
||||
CTASSERT(sizeof (struct dos_partition) == 16);
|
||||
#endif
|
||||
|
||||
void dos_partition_dec(void const *pp, struct dos_partition *d);
|
||||
void dos_partition_enc(void *pp, struct dos_partition *d);
|
||||
|
||||
#define DPSECT(s) ((s) & 0x3f) /* isolate relevant bits of sector */
|
||||
#define DPCYL(c, s) ((c) + (((s) & 0xc0)<<2)) /* and those that are cylinder */
|
||||
|
||||
#define DIOCSMBR _IOW('M', 129, u_char[512])
|
||||
|
||||
|
||||
#endif /* !_SYS_DISKMBR_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user