Add prototypes for sunlabel_dec() and sunlabel_enc().

Assume (for now) that all sun labels are big endian.
This commit is contained in:
phk 2003-04-21 19:31:42 +00:00
parent 55c49c799e
commit d0c2ab56a5

View File

@ -103,3 +103,6 @@ struct sun_disklabel { /* total size = 512 bytes */
#ifdef CTASSERT
CTASSERT(sizeof (struct sun_disklabel) == 512);
#endif
int sunlabel_dec(void const *pp, struct sun_disklabel *sl);
void sunlabel_enc(void *pp, struct sun_disklabel *sl);