diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2003-02-09 10:04:32 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2003-02-09 10:04:32 +0000 |
| commit | e3c5d7b092f23d6b1bb5c2bd27c704faec63d9a2 (patch) | |
| tree | cf5b9d52a5ce39c9cbf28cb022f9de812ef1a00f /sys/dev/raidframe/rf_reconstruct.c | |
| parent | c9fe87550b2c5ed37ccf1439cc98dada0568d75c (diff) | |
constify some
Diffstat (limited to 'sys/dev/raidframe/rf_reconstruct.c')
| -rw-r--r-- | sys/dev/raidframe/rf_reconstruct.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/raidframe/rf_reconstruct.c b/sys/dev/raidframe/rf_reconstruct.c index 5ad473ed78f..063a0b95bc6 100644 --- a/sys/dev/raidframe/rf_reconstruct.c +++ b/sys/dev/raidframe/rf_reconstruct.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_reconstruct.c,v 1.51 2002/11/19 01:45:29 oster Exp $ */ +/* $NetBSD: rf_reconstruct.c,v 1.52 2003/02/09 10:04:34 jdolecek Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -33,7 +33,7 @@ ************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.51 2002/11/19 01:45:29 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_reconstruct.c,v 1.52 2003/02/09 10:04:34 jdolecek Exp $"); #include <sys/time.h> #include <sys/buf.h> @@ -260,7 +260,7 @@ rf_ReconstructFailedDisk(raidPtr, row, col) RF_RowCol_t row; RF_RowCol_t col; { - RF_LayoutSW_t *lp; + const RF_LayoutSW_t *lp; int rc; lp = raidPtr->Layout.map; @@ -403,7 +403,7 @@ rf_ReconstructInPlace(raidPtr, row, col) { RF_RaidDisk_t *spareDiskPtr = NULL; RF_RaidReconDesc_t *reconDesc; - RF_LayoutSW_t *lp; + const RF_LayoutSW_t *lp; RF_ComponentLabel_t c_label; int numDisksDone = 0, rc; struct partinfo dpart; |
