[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/68] ddb/db_sym.c: remove useless forward declarations without
From: |
Marin Ramesa |
Subject: |
[PATCH 08/68] ddb/db_sym.c: remove useless forward declarations without definitions |
Date: |
Fri, 29 Nov 2013 22:53:33 +0100 |
* 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(-)
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,}
--
1.8.1.4
- gnumach code cleanup, Marin Ramesa, 2013/11/29
- [PATCH 01/68] ddb/db_command.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 05/68] ddb/db_run.c: add comment after endif, Marin Ramesa, 2013/11/29
- [PATCH 02/68] ddb/db_input.c: add comment after endif, Marin Ramesa, 2013/11/29
- [PATCH 04/68] ddb/db_output.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 03/68] ddb/db_mp.c: add comment after else and endif, Marin Ramesa, 2013/11/29
- [PATCH 07/68] ddb: new header file db_aout.h, Marin Ramesa, 2013/11/29
- [PATCH 06/68] ddb/db_aout.c: trivial stylistic fix for consistency, Marin Ramesa, 2013/11/29
- [PATCH 09/68] ddb/db_sym.c: fix argument list, Marin Ramesa, 2013/11/29
- [PATCH 08/68] ddb/db_sym.c: remove useless forward declarations without definitions,
Marin Ramesa <=
- [PATCH 10/68] ddb/db_command.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 11/68] ddb/db_command.c: remove useless forward declaration without definition, Marin Ramesa, 2013/11/29
- [PATCH 12/68] ddb/db_trap.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 13/68] ddb/db_variables.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 14/68] device/device_init.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 15/68] i386/i386/db_trace.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 16/68] i386/i386/fpu.c, trap.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 17/68] i386/i386/fpu.c: remove (#if 1), Marin Ramesa, 2013/11/29
- [PATCH 18/68] i386/i386/io_perm.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 19/68] i386/i386/ldt.c: remove useless forward declaration without definition, Marin Ramesa, 2013/11/29