From 126a7300e70cecddc97ceefc56b0077ee5f098b4 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 2 Apr 1996 21:56:16 +0000 Subject: entered into RCS --- libstore/set.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libstore/set.c') diff --git a/libstore/set.c b/libstore/set.c index 28ede72f..60701f64 100644 --- a/libstore/set.c +++ b/libstore/set.c @@ -27,7 +27,7 @@ /* Set STORE's current runs list to (a copy of) RUNS and RUNS_LEN. */ error_t -store_set_runs (struct store *store, off_t *runs, unsigned runs_len) +store_set_runs (struct store *store, const off_t *runs, unsigned runs_len) { unsigned size = runs_len * sizeof (off_t); off_t *copy = malloc (size); @@ -50,7 +50,7 @@ store_set_runs (struct store *store, off_t *runs, unsigned runs_len) /* Sets the name associated with STORE to a copy of NAME. */ error_t -store_set_name (struct store *store, char *name) +store_set_name (struct store *store, const char *name) { char *copy = malloc (strlen (name) + 1); -- cgit v1.2.3