diff options
author | Jim Meyering <jim@meyering.net> | 2005-05-19 10:37:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-05-19 10:37:40 +0000 |
commit | b3e741d36ca5d567597401667d8118a79f34be46 (patch) | |
tree | 6f07213bc171de8bc23c252c544f6758618b75f0 /src/remove.c | |
parent | 7f163f5ac745e941b1d7394fd0db3364f0184736 (diff) | |
download | coreutils-b3e741d36ca5d567597401667d8118a79f34be46.tar.xz |
(AD_mark_helper, AD_mark_current_as_unremovable):
Remove inaccurate-but-harmless `const' attributes.
Diffstat (limited to 'src/remove.c')
-rw-r--r-- | src/remove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remove.c b/src/remove.c index 083641dff..298e43752 100644 --- a/src/remove.c +++ b/src/remove.c @@ -434,7 +434,7 @@ AD_pop_and_chdir (Dirstack_state *ds, char **prev_dir, /* Initialize *HT if it is NULL. Insert FILENAME into HT. */ static void -AD_mark_helper (Hash_table **ht, char const *filename) +AD_mark_helper (Hash_table **ht, char *filename) { if (*ht == NULL) { @@ -462,7 +462,7 @@ static void AD_mark_current_as_unremovable (Dirstack_state *ds) { struct AD_ent *top = AD_stack_top (ds); - const char *curr = top_dir (ds); + char *curr = top_dir (ds); assert (1 < AD_stack_height (ds)); |