summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-26 12:38:40 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-26 12:38:40 +0000
commit3ae53675c11e4ec1d30fd3e110f54b48ad239f76 (patch)
tree08260eca322353bc787f405a788197d5ef589028
parentc4ce8fe319cf93f03ba2d51b200647eeed67b2cb (diff)
Remove register specifiers, add one explicit int
-rw-r--r--sys/arch/amiga/amiga/disksubr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/amiga/amiga/disksubr.c b/sys/arch/amiga/amiga/disksubr.c
index 261b41ee638..c5011288455 100644
--- a/sys/arch/amiga/amiga/disksubr.c
+++ b/sys/arch/amiga/amiga/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.14 1997/08/08 21:46:34 niklas Exp $ */
+/* $OpenBSD: disksubr.c,v 1.15 1998/03/26 12:38:39 niklas Exp $ */
/* $NetBSD: disksubr.c,v 1.27 1996/10/13 03:06:34 christos Exp $ */
/*
@@ -436,12 +436,12 @@ done:
*/
int
setdisklabel(olp, nlp, openmask, clp)
- register struct disklabel *olp, *nlp;
+ struct disklabel *olp, *nlp;
u_long openmask;
struct cpu_disklabel *clp;
{
- register i;
- register struct partition *opp, *npp;
+ int i;
+ struct partition *opp, *npp;
if (nlp->d_magic != DISKMAGIC || nlp->d_magic2 != DISKMAGIC ||
dkcksum(nlp) != 0)
@@ -482,7 +482,7 @@ int
writedisklabel(dev, strat, lp, clp)
dev_t dev;
void (*strat)(struct buf *);
- register struct disklabel *lp;
+ struct disklabel *lp;
struct cpu_disklabel *clp;
{
struct rdbmap *bmap;