summaryrefslogtreecommitdiff
path: root/libstore/stripe.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-03-07 15:01:37 +0000
committerRoland McGrath <roland@gnu.org>2001-03-07 15:01:37 +0000
commitd1d9c14d8e50a8f263775f7e0a71bda5dd6686f6 (patch)
tree49d446315742c508ed2762e3e76560312c071d63 /libstore/stripe.c
parentb8ba3388ad76fe7e022a44e5422e0723770fc908 (diff)
2001-03-07 Roland McGrath <roland@frob.com>
* store.h (store_write, store_write_meth_t): Make buffer arg const*. * copy.c (copy_write): Likewise. * device.c (dev_write): Likewise. * file.c (file_write): Likewise. (file_byte_write): Likewise. * rdwr.c (store_write): Likewise. * remap.c (remap_write): Likewise. * stripe.c (stripe_write): Likewise. * task.c (task_write): Likewise. * zero.c (zero_write): Likewise.
Diffstat (limited to 'libstore/stripe.c')
-rw-r--r--libstore/stripe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstore/stripe.c b/libstore/stripe.c
index 52a596df..daa0d0d3 100644
--- a/libstore/stripe.c
+++ b/libstore/stripe.c
@@ -1,6 +1,6 @@
/* Striped store backend
- Copyright (C) 1996,97,99 Free Software Foundation, Inc.
+ Copyright (C) 1996,97,99,2001 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
This file is part of the GNU Hurd.
@@ -49,8 +49,8 @@ stripe_read (struct store *store,
static error_t
stripe_write (struct store *store,
- store_offset_t addr, size_t index, void *buf, size_t len,
- size_t *amount)
+ store_offset_t addr, size_t index,
+ const void *buf, size_t len, size_t *amount)
{
struct store *stripe = store->children[index];
return