summaryrefslogtreecommitdiff
path: root/ddb/db_sym.h
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/db_sym.h
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/db_sym.h')
-rw-r--r--ddb/db_sym.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ddb/db_sym.h b/ddb/db_sym.h
index d3cfec7c..650822d8 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_ */