* symfile.c (set_initial_language): Update.

(deduce_language_from_filename): Argument type now const.
	* symtab.h (find_main_filename): Update.
	(deduce_language_from_filename): Update.
	* symtab.c (find_main_filename): Make result const.
	* dwarf2read.c (dw2_find_symbol_file): Change return type.
	* psymtab.c (find_symbol_file_from_partial): Change return type.
	* symfile.h (struct quick_symbol_functions) <find_symbol_file>:
	Make result const.
This commit is contained in:
Tom Tromey
2010-07-13 20:52:52 +00:00
parent 9291a0cd80
commit dd78685836
7 changed files with 24 additions and 11 deletions

View File

@@ -949,7 +949,7 @@ psymtab_to_fullname (struct partial_symtab *ps)
return NULL;
}
static char *
static const char *
find_symbol_file_from_partial (struct objfile *objfile, const char *name)
{
struct partial_symtab *pst;