summaryrefslogtreecommitdiffstats
path: root/sys/sys/sun_disklabel.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-21 19:31:42 +0000
committerphk <phk@FreeBSD.org>2003-04-21 19:31:42 +0000
commitd0c2ab56a56d3857fb2c29aa74033c9cc1ea50ed (patch)
tree28555325fca393f8dd5eed3066c49f57e6363f71 /sys/sys/sun_disklabel.h
parent55c49c799ecf88e742af909853ac80138a65f468 (diff)
downloadFreeBSD-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/sun_disklabel.h')
-rw-r--r--sys/sys/sun_disklabel.h3
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);
OpenPOWER on IntegriCloud