aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-09-23 10:40:36 -0600
committerTom Tromey <tom@tromey.com>2016-09-23 11:31:35 -0600
commit3e25a500a1ba05587389737e7c617e5ae6dd2bcf (patch)
treef88f4ce40f9e88fd4a3ad892e35445e310939b6f /gdb/objfiles.h
parent97e64e5ab19dbf6a9babd711e8deec5545520954 (diff)
downloadgdb-3e25a500a1ba05587389737e7c617e5ae6dd2bcf.zip
gdb-3e25a500a1ba05587389737e7c617e5ae6dd2bcf.tar.gz
gdb-3e25a500a1ba05587389737e7c617e5ae6dd2bcf.tar.bz2
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.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 59b73f1..87a974c 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -501,8 +501,6 @@ extern CORE_ADDR entry_point_address (void);
extern void build_objfile_section_table (struct objfile *);
-extern void terminate_minimal_symbol_table (struct objfile *objfile);
-
extern struct objfile *objfile_separate_debug_iterate (const struct objfile *,
const struct objfile *);