From 92c155de510b4381db3c69f7bedba8d339eb14d2 Mon Sep 17 00:00:00 2001 From: mickey Date: Wed, 18 Sep 1996 14:40:12 +0000 Subject: [PATCH] correct dkcksum return type. --- sys/lib/libsa/dkcksum.c | 2 +- sys/lib/libsa/stand.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/lib/libsa/dkcksum.c b/sys/lib/libsa/dkcksum.c index 75986afebd6..e57e750e57f 100644 --- a/sys/lib/libsa/dkcksum.c +++ b/sys/lib/libsa/dkcksum.c @@ -42,7 +42,7 @@ /* * Compute checksum for disk label. */ -int +u_int dkcksum(lp) register struct disklabel *lp; { diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h index 9470e7c8c43..afa837f89de 100644 --- a/sys/lib/libsa/stand.h +++ b/sys/lib/libsa/stand.h @@ -111,7 +111,7 @@ void *alloc __P((unsigned int)); void free __P((void *, unsigned int)); struct disklabel; char *getdisklabel __P((const char *, struct disklabel *)); -int dkcksum __P((struct disklabel *)); +u_int dkcksum __P((struct disklabel *)); void printf __P((const char *, ...)); void sprintf __P((char *, const char *, ...)); -- 2.20.1