bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 11/28] ddb/db_aout.c (aout_db_lookup): remove forward declaration


From: Marin Ramesa
Subject: [PATCH 11/28] ddb/db_aout.c (aout_db_lookup): remove forward declaration
Date: Sun, 8 Dec 2013 12:40:13 +0100

* ddb/db_aout.c (db_sym_parse_and_lookup): Remove forward declaration.
* ddb/db_sym.h (db_sym_parse_and_lookup): Add prototype.

---
 ddb/db_aout.c | 2 --
 ddb/db_sym.h  | 6 ++++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ddb/db_aout.c b/ddb/db_aout.c
index 3a48533..76bc893 100644
--- a/ddb/db_aout.c
+++ b/ddb/db_aout.c
@@ -312,8 +312,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 8c1a417..e3409e2 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_ */
-- 
1.8.1.4




reply via email to

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