summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorjohns <johns@cvs.openbsd.org>1998-03-01 10:17:55 +0000
committerjohns <johns@cvs.openbsd.org>1998-03-01 10:17:55 +0000
commit9221cc9d62560c0c866321f3c91d5e9579a0386d (patch)
treee2d7df29f099272f04a6f18901b28916afa4b905 /sys/arch/sparc
parent56b698e4380c2ca266256499d97332a3357f8f42 (diff)
Fixes for gcc 2.8
Added explicit type of integer to register variable i..
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c
index f6605f04677..d70b515c4a9 100644
--- a/sys/arch/sparc/sparc/disksubr.c
+++ b/sys/arch/sparc/sparc/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.18 1997/10/01 22:54:20 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.19 1998/03/01 10:17:54 johns Exp $ */
/* $NetBSD: disksubr.c,v 1.16 1996/04/28 20:25:59 thorpej Exp $ */
/*
@@ -211,7 +211,7 @@ setdisklabel(olp, nlp, openmask, clp)
u_long openmask;
struct cpu_disklabel *clp;
{
- register i;
+ register int i;
register struct partition *opp, *npp;
/* sanity clause */