diff options
author | phk <phk@FreeBSD.org> | 2003-04-21 19:31:42 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-21 19:31:42 +0000 |
commit | d0c2ab56a56d3857fb2c29aa74033c9cc1ea50ed (patch) | |
tree | 28555325fca393f8dd5eed3066c49f57e6363f71 /sys/sys | |
parent | 55c49c799ecf88e742af909853ac80138a65f468 (diff) | |
download | FreeBSD-src-d0c2ab56a56d3857fb2c29aa74033c9cc1ea50ed.zip FreeBSD-src-d0c2ab56a56d3857fb2c29aa74033c9cc1ea50ed.tar.gz |
Add prototypes for sunlabel_dec() and sunlabel_enc().
Assume (for now) that all sun labels are big endian.
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/sun_disklabel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/sun_disklabel.h b/sys/sys/sun_disklabel.h index c975792..99c5c3a 100644 --- a/sys/sys/sun_disklabel.h +++ b/sys/sys/sun_disklabel.h @@ -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); |