summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:53:33 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 05:53:41 +0900
commitdd20c8ffce14a5d36142e9e2615d912ccaecd91c (patch)
tree6e13d4925d7c93812f11d54c5bc83054954d77e4 /ddb
parentbfcf9be868a79386a13635ea01a5c551d117eafd (diff)
ddb/db_sym.c: remove useless forward declarations without definitions
* ddb/db_sym.c (coff_db_sym_init, coff_db_line_at_pc, db_sym_t coff_db_lookup, coff_db_search_symbol, coff_db_symbol_values): Remove forward declarations. (x_db): Modify field definition.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_sym.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ddb/db_sym.c b/ddb/db_sym.c
index c0ad7bf..9d64f5b 100644
--- a/ddb/db_sym.c
+++ b/ddb/db_sym.c
@@ -507,10 +507,6 @@ void db_free_symbol(db_sym_t s)
* Switch into symbol-table specific routines
*/
-extern boolean_t coff_db_sym_init(), coff_db_line_at_pc();
-extern db_sym_t coff_db_lookup(), coff_db_search_symbol();
-extern void coff_db_symbol_values();
-
void dummy_db_free_symbol(sym_t) { }
struct db_sym_switch x_db[] = {
@@ -523,12 +519,7 @@ struct db_sym_switch x_db[] = {
aout_db_line_at_pc, aout_db_symbol_values, dummy_db_free_symbol },
#endif /* DB_NO_AOUT */
-#ifdef DB_NO_COFF
{ 0,},
-#else /* DB_NO_COFF */
- { coff_db_sym_init, coff_db_lookup, coff_db_search_symbol,
- coff_db_line_at_pc, coff_db_symbol_values, dummy_db_free_symbol },
-#endif /* DB_NO_COFF */
/* Machdep, not inited here */
{ 0,}