summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-08 12:40:13 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:50:12 +0900
commit6916384928be2fc1db19527620c57e4d93e07923 (patch)
tree4af512121a11c62cd27d0d44bed8046369d4b044 /ddb
parent690144baccc1ea91ff87722b2a0515eebea6e148 (diff)
ddb/db_aout.c (aout_db_lookup): remove forward declaration
* ddb/db_aout.c (db_sym_parse_and_lookup): Remove forward declaration. * ddb/db_sym.h (db_sym_parse_and_lookup): Add prototype.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_aout.c2
-rw-r--r--ddb/db_sym.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/ddb/db_aout.c b/ddb/db_aout.c
index 54a9e646..fda7f092 100644
--- a/ddb/db_aout.c
+++ b/ddb/db_aout.c
@@ -317,8 +317,6 @@ aout_db_lookup(stab, symstr)
db_symtab_t *stab;
char * symstr;
{
- db_sym_t db_sym_parse_and_lookup();
-
return(db_sym_parse_and_lookup(aout_db_qualified_search, stab, symstr));
}
diff --git a/ddb/db_sym.h b/ddb/db_sym.h
index 8c1a4171..e3409e22 100644
--- a/ddb/db_sym.h
+++ b/ddb/db_sym.h
@@ -252,4 +252,10 @@ db_search_in_task_symbol(
db_addr_t *offp,
task_t task);
+extern db_sym_t
+db_sym_parse_and_lookup(
+ db_sym_t (*func)(),
+ db_symtab_t *symtab,
+ char *symstr);
+
#endif /* _DDB_DB_SYM_H_ */