From 0b60aa467b5134f2a3416d48ca2f2524fb9f97ca Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 21 Apr 2003 19:31:42 +0000 Subject: [PATCH] Add prototypes for sunlabel_dec() and sunlabel_enc(). Assume (for now) that all sun labels are big endian. --- sys/sys/sun_disklabel.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/sys/sun_disklabel.h b/sys/sys/sun_disklabel.h index c97579241216..99c5c3a469ae 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);