summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-22 18:30:37 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-24 23:09:50 +0100
commit403d8f883d3653c124012f01bb54ea9cae83d06b (patch)
treeaee9158ae61a76f37165a8118767b5ceb2f7dfff /ddb
parent84d3177baeadf10227e4ffe03dc22f0499eadb17 (diff)
ddb: move forward declaration into a header file
* ddb/db_sym.c (db_lookup): Remove forward declaration. * ddb/db_sym.h (db_lookup): Add prototype.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_sym.c2
-rw-r--r--ddb/db_sym.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ddb/db_sym.c b/ddb/db_sym.c
index 0a5c9db..fede7dc 100644
--- a/ddb/db_sym.c
+++ b/ddb/db_sym.c
@@ -50,8 +50,6 @@ int db_nsymtab = 0;
db_symtab_t *db_last_symtab;
-db_sym_t db_lookup(); /* forward */
-
/*
* Add symbol table, with given name, to list of symbol tables.
*/
diff --git a/ddb/db_sym.h b/ddb/db_sym.h
index 650822d..9de12df 100644
--- a/ddb/db_sym.h
+++ b/ddb/db_sym.h
@@ -243,4 +243,6 @@ extern boolean_t aout_db_sym_init(
char *name,
char *task_addr);
+db_sym_t db_lookup(char *);
+
#endif /* _DDB_DB_SYM_H_ */