forked from Imagelibrary/binutils-gdb
make symtab::filename const
This makes symtab::filename const and removes a newly unnecessary cast. 2013-12-06 Tom Tromey <tromey@redhat.com> * symfile.c (allocate_symtab): Remove cast. * symtab.h (struct symtab) <filename>: Now const.
This commit is contained in:
@@ -875,7 +875,7 @@ struct symtab
|
||||
|
||||
/* Name of this source file. This pointer is never NULL. */
|
||||
|
||||
char *filename;
|
||||
const char *filename;
|
||||
|
||||
/* Directory in which it was compiled, or NULL if we don't know. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user