diff options
author | Miles Bader <miles@gnu.org> | 1996-04-02 21:56:16 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-04-02 21:56:16 +0000 |
commit | 126a7300e70cecddc97ceefc56b0077ee5f098b4 (patch) | |
tree | 708611178f6e76e9c473fbfe6c87fba97c0383d9 /libstore/set.c | |
parent | 34951403fa913193c11e4f4ff51bdb2b86bf99e0 (diff) | |
download | hurd-126a7300e70cecddc97ceefc56b0077ee5f098b4.tar.gz hurd-126a7300e70cecddc97ceefc56b0077ee5f098b4.tar.bz2 hurd-126a7300e70cecddc97ceefc56b0077ee5f098b4.zip |
entered into RCS
Diffstat (limited to 'libstore/set.c')
-rw-r--r-- | libstore/set.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |