From e3ad43e464b6d5112aefb8c3a8a292023cf18731 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Wed, 20 Nov 2013 13:53:58 +0100 Subject: 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. --- ddb/db_sym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ddb/db_sym.c') diff --git a/ddb/db_sym.c b/ddb/db_sym.c index 98f265e6..0819e08e 100644 --- a/ddb/db_sym.c +++ b/ddb/db_sym.c @@ -511,7 +511,7 @@ void db_free_symbol(db_sym_t s) * Switch into symbol-table specific routines */ -extern boolean_t aout_db_sym_init(), aout_db_line_at_pc(); +extern boolean_t aout_db_line_at_pc(); extern db_sym_t aout_db_lookup(), aout_db_search_symbol(); extern void aout_db_symbol_values(); -- cgit v1.2.3