From 6916384928be2fc1db19527620c57e4d93e07923 Mon Sep 17 00:00:00 2001
From: Marin Ramesa <mpr@hi.t-com.hr>
Date: Sun, 8 Dec 2013 12:40:13 +0100
Subject: 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.
---
 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 54a9e64..fda7f09 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 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_ */
-- 
cgit v1.2.3