summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-09-16 18:57:51 +0000
committerphk <phk@FreeBSD.org>2000-09-16 18:57:51 +0000
commit076c970b115070c30dd07d7e6859698913019c87 (patch)
tree6bec1d16947dc7b3fa057a24b6cec351dcc2857d /sys
parent4b8192c10bd4dec7b92afef76fbce411734153b4 (diff)
downloadFreeBSD-src-076c970b115070c30dd07d7e6859698913019c87.zip
FreeBSD-src-076c970b115070c30dd07d7e6859698913019c87.tar.gz
Add proper prototype for dkcksum();
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/disklabel.h2
-rw-r--r--sys/sys/diskmbr.h2
-rw-r--r--sys/sys/diskpc98.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h
index 59fb31b..040cc33 100644
--- a/sys/sys/disklabel.h
+++ b/sys/sys/disklabel.h
@@ -181,6 +181,8 @@ struct disklabel {
} d_partitions[MAXPARTITIONS]; /* actually may be more */
};
+static u_int16_t dkcksum __P((struct disklabel *lp));
+
static __inline u_int16_t
dkcksum(lp)
struct disklabel *lp;
diff --git a/sys/sys/diskmbr.h b/sys/sys/diskmbr.h
index 59fb31b..040cc33 100644
--- a/sys/sys/diskmbr.h
+++ b/sys/sys/diskmbr.h
@@ -181,6 +181,8 @@ struct disklabel {
} d_partitions[MAXPARTITIONS]; /* actually may be more */
};
+static u_int16_t dkcksum __P((struct disklabel *lp));
+
static __inline u_int16_t
dkcksum(lp)
struct disklabel *lp;
diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h
index 59fb31b..040cc33 100644
--- a/sys/sys/diskpc98.h
+++ b/sys/sys/diskpc98.h
@@ -181,6 +181,8 @@ struct disklabel {
} d_partitions[MAXPARTITIONS]; /* actually may be more */
};
+static u_int16_t dkcksum __P((struct disklabel *lp));
+
static __inline u_int16_t
dkcksum(lp)
struct disklabel *lp;
OpenPOWER on IntegriCloud