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_reconbuffer.c | |
| parent | c9fe87550b2c5ed37ccf1439cc98dada0568d75c (diff) | |
constify some
Diffstat (limited to 'sys/dev/raidframe/rf_reconbuffer.c')
| -rw-r--r-- | sys/dev/raidframe/rf_reconbuffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/raidframe/rf_reconbuffer.c b/sys/dev/raidframe/rf_reconbuffer.c index de09dac971e..cb61f744121 100644 --- a/sys/dev/raidframe/rf_reconbuffer.c +++ b/sys/dev/raidframe/rf_reconbuffer.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_reconbuffer.c,v 1.12 2002/11/23 02:38:59 oster Exp $ */ +/* $NetBSD: rf_reconbuffer.c,v 1.13 2003/02/09 10:04:33 jdolecek Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -33,7 +33,7 @@ ***************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_reconbuffer.c,v 1.12 2002/11/23 02:38:59 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_reconbuffer.c,v 1.13 2003/02/09 10:04:33 jdolecek Exp $"); #include "rf_raid.h" #include "rf_reconbuffer.h" @@ -81,7 +81,7 @@ __KERNEL_RCSID(0, "$NetBSD: rf_reconbuffer.c,v 1.12 2002/11/23 02:38:59 oster Ex * nWayXorFuncs[i] is a pointer to a function that will xor "i" * bufs into the accumulating sum. */ -static RF_VoidFuncPtr nWayXorFuncs[] = { +static const RF_VoidFuncPtr nWayXorFuncs[] = { NULL, (RF_VoidFuncPtr) rf_nWayXor1, (RF_VoidFuncPtr) rf_nWayXor2, @@ -102,7 +102,7 @@ rf_SubmitReconBuffer(rbuf, keep_it, use_committed) int use_committed; /* whether to use a committed or an available * recon buffer */ { - RF_LayoutSW_t *lp; + const RF_LayoutSW_t *lp; int rc; lp = rbuf->raidPtr->Layout.map; |
