Add proper prototype for dkcksum();

This commit is contained in:
Poul-Henning Kamp 2000-09-16 18:57:51 +00:00
parent a164712178
commit fa0c13fabb
3 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;