summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-20 13:53:58 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-20 21:55:35 +0100
commite3ad43e464b6d5112aefb8c3a8a292023cf18731 (patch)
treea61a2e4d7e3397ebdf615fd975e96b2854279c52 /ddb
parenteda770864b0c42416fb3239db2c15544840e636f (diff)
Fix implicit declaration of function
* ddb/db_sym.c (aout_db_sym_init): Remove forward declaration. * ddb/db_sym.h (aout_db_sym_init): Add prototype. * i386/i386at/model_dep.c (aout_db_sym_init): Fix call. [MACH_KDB]: Include ddb/db_sym.h. [MACH_KDB]: Add comment after else and endif.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_sym.c2
-rw-r--r--ddb/db_sym.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/ddb/db_sym.c b/ddb/db_sym.c
index 98f265e..0819e08 100644
--- a/ddb/db_sym.c
+++ b/ddb/db_sym.c
@@ -511,7 +511,7 @@ void db_free_symbol(db_sym_t s)
* Switch into symbol-table specific routines
*/
-extern boolean_t aout_db_sym_init(), aout_db_line_at_pc();
+extern boolean_t aout_db_line_at_pc();
extern db_sym_t aout_db_lookup(), aout_db_search_symbol();
extern void aout_db_symbol_values();
diff --git a/ddb/db_sym.h b/ddb/db_sym.h
index d3cfec7..650822d 100644
--- a/ddb/db_sym.h
+++ b/ddb/db_sym.h
@@ -237,4 +237,10 @@ extern boolean_t db_line_at_pc(
int *linenum,
db_expr_t pc);
+extern boolean_t aout_db_sym_init(
+ char *symtab,
+ char *esymtab,
+ char *name,
+ char *task_addr);
+
#endif /* _DDB_DB_SYM_H_ */