mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Add prototypes for sunlabel_dec() and sunlabel_enc().
Assume (for now) that all sun labels are big endian.
This commit is contained in:
parent
ca7b358a91
commit
0b60aa467b
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue