* symtab.c (lookup_symtab): Remove `const'' from `rp''

declaration.  Fix -Werror.
This commit is contained in:
Andrew Cagney 2002-04-06 18:28:20 +00:00
parent 6c1e5d11fe
commit 25f1b00810
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-04-06 Andrew Cagney <ac131313@redhat.com>
* symtab.c (lookup_symtab): Remove ``const'' from ``rp''
declaration. Fix -Werror.
2002-04-05 Daniel Jacobowitz <drow@mvista.com>
* gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.

View file

@ -181,7 +181,7 @@ got_symtab:
if (real_path != NULL)
{
const char *rp = gdb_realpath (symtab_to_filename (s));
char *rp = gdb_realpath (symtab_to_filename (s));
make_cleanup (xfree, rp);
if (FILENAME_CMP (real_path, rp) == 0)
{