From dd20c8ffce14a5d36142e9e2615d912ccaecd91c Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 29 Nov 2013 22:53:33 +0100 Subject: 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. --- ddb/db_sym.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ddb') 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,} -- cgit v1.2.3