From b3e741d36ca5d567597401667d8118a79f34be46 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 19 May 2005 10:37:40 +0000 Subject: [PATCH] (AD_mark_helper, AD_mark_current_as_unremovable): Remove inaccurate-but-harmless `const' attributes. --- src/remove.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remove.c b/src/remove.c index 083641dffc..298e437523 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)); -- 2.47.3