summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-10-21 16:01:55 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-10-21 16:01:55 +0000
commitd0e8f636ee6a51ad73fd6c2617eeaf1aae162618 (patch)
tree0d8520fd3e4d96585ff6ff465b38eceb65cbbec2 /sys/arch/hppa
parentc6ced3de0f5d243baf070114323bc236ff5fbdd8 (diff)
Some KNF cleanup.
De-register. Move declaration to top of function for DOS MBR processing. Indent nit in macppc. No functional change.
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/disksubr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/disksubr.c b/sys/arch/hppa/hppa/disksubr.c
index f2eaae125b3..14dd7cdc355 100644
--- a/sys/arch/hppa/hppa/disksubr.c
+++ b/sys/arch/hppa/hppa/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.41 2006/10/21 14:18:36 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.42 2006/10/21 16:01:53 krw Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -222,6 +222,7 @@ readdoslabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly)
int spoofonly;
{
struct dos_partition dp[NDOSPART], *dp2;
+ struct partition *pp;
unsigned long extoff = 0;
daddr_t part_blkno = DOSBBSECTOR;
char *msg = NULL, *cp;
@@ -303,7 +304,7 @@ donot:
* provide a fake label in i-p.
*/
for (dp2=dp, i=0; i < NDOSPART && n < 8; i++, dp2++) {
- struct partition *pp = &lp->d_partitions[8+n];
+ pp = &lp->d_partitions[8+n];
if (dp2->dp_typ == DOSPTYP_OPENBSD)
continue;