From 3a599ed5d204df4a0262d555ae7f46adcdf65bfc Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 10 May 1996 17:32:33 +0000 Subject: Rename *S_LEN to NUM_*S. --- libstore/set.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libstore/set.c') diff --git a/libstore/set.c b/libstore/set.c index 60701f64..d59538e1 100644 --- a/libstore/set.c +++ b/libstore/set.c @@ -25,11 +25,11 @@ #include "store.h" -/* Set STORE's current runs list to (a copy of) RUNS and RUNS_LEN. */ +/* Set STORE's current runs list to (a copy of) RUNS and NUM_RUNS. */ error_t -store_set_runs (struct store *store, const off_t *runs, unsigned runs_len) +store_set_runs (struct store *store, const off_t *runs, unsigned num_runs) { - unsigned size = runs_len * sizeof (off_t); + unsigned size = num_runs * sizeof (off_t); off_t *copy = malloc (size); if (!copy) @@ -40,7 +40,7 @@ store_set_runs (struct store *store, const off_t *runs, unsigned runs_len) bcopy (runs, copy, size); store->runs = copy; - store->runs_len = runs_len; + store->num_runs = num_runs; if (store->block_size > 0) _store_derive (store); -- cgit v1.2.3