Remove some unnecessary code
This patch removes some unnecessary code. In particular, terminate_minimal_symbol_table is declared in minsyms.h, so it doesn't need to be declared in objfiles.h as well. And, restore_ui_out_closure was rendered unnecessary by an earlier patch, so the structure definition can be removed now. I'm checking this in as obvious. Tested by rebuilding on x86-64 Fedora 24 with --enable-targets=all; which would notice any missing includes of minsyms.h. 2016-09-23 Tom Tromey <tom@tromey.com> * utils.c (struct restore_ui_out_closure): Remove. * objfiles.h (terminate_minimal_symbol_table): Don't declare.
This commit is contained in:
parent
97e64e5ab1
commit
3e25a500a1
3 changed files with 5 additions and 8 deletions
|
@ -332,12 +332,6 @@ make_cleanup_htab_delete (htab_t htab)
|
|||
return make_cleanup (do_htab_delete_cleanup, htab);
|
||||
}
|
||||
|
||||
struct restore_ui_out_closure
|
||||
{
|
||||
struct ui_out **variable;
|
||||
struct ui_out *value;
|
||||
};
|
||||
|
||||
struct restore_ui_file_closure
|
||||
{
|
||||
struct ui_file **variable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue