bug-hurd
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]