From: mickey Date: Wed, 18 Sep 1996 14:40:12 +0000 (+0000) Subject: correct dkcksum return type. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=92c155de510b4381db3c69f7bedba8d339eb14d2;p=openbsd correct dkcksum return type. --- 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 *, ...));