summaryrefslogtreecommitdiffstats
path: root/sys/sys/diskpc98.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-04-17 18:09:27 +0000
committeralfred <alfred@FreeBSD.org>2002-04-17 18:09:27 +0000
commitd1305c4e3ce37d64226a71ed0de1a0d4ad75e9f9 (patch)
tree83ed4d36fa43553f5246b2269e3c27beb1d6bb65 /sys/sys/diskpc98.h
parent6961e47900b40876bc7e910f5a3b3bb2975689a6 (diff)
downloadFreeBSD-src-d1305c4e3ce37d64226a71ed0de1a0d4ad75e9f9.zip
FreeBSD-src-d1305c4e3ce37d64226a71ed0de1a0d4ad75e9f9.tar.gz
De-K&R dkcksum() to fix some issues with c++.
Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
Diffstat (limited to 'sys/sys/diskpc98.h')
-rw-r--r--sys/sys/diskpc98.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h
index dde62e5..44eb997 100644
--- a/sys/sys/diskpc98.h
+++ b/sys/sys/diskpc98.h
@@ -173,8 +173,7 @@ CTASSERT(sizeof(struct disklabel) == 276);
static __inline u_int16_t dkcksum(struct disklabel *lp);
static __inline u_int16_t
-dkcksum(lp)
- struct disklabel *lp;
+dkcksum(struct disklabel *lp)
{
u_int16_t *start, *end;
u_int16_t sum = 0;
OpenPOWER on IntegriCloud