diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:53:26 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 05:49:55 +0900 |
commit | a1e11dc70e9a82211a949061d09e0da0fc96c3e9 (patch) | |
tree | 3c0f5946cb17fd19329493a56c3ccfed8f1c6ba1 /ddb | |
parent | 4af39064e3e4a6e08f4d702092b1e4bfe3289be9 (diff) |
ddb/db_command.c: remove forward declarations
* ddb/db_command.c: Include machine/db_interface.h.
(db_help_cmd, db_stack_trace_cmd): Remove forward declarations.
* ddb/db_command.h (db_help_cmd): Add prototype.
* i386/i386/db_interface.h (db_stack_trace_cmd): Add prototype.
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_command.c | 3 | ||||
-rw-r--r-- | ddb/db_command.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ddb/db_command.c b/ddb/db_command.c index 1299cfa..c44e18c 100644 --- a/ddb/db_command.c +++ b/ddb/db_command.c @@ -54,6 +54,7 @@ #include <ddb/db_cond.h> #include <machine/setjmp.h> +#include <machine/db_interface.h> #include <kern/debug.h> #include <kern/thread.h> #include <ipc/ipc_pset.h> /* 4proto */ @@ -331,8 +332,6 @@ struct db_command db_show_cmds[] = { { (char *)0, } }; -void db_help_cmd(); -extern void db_stack_trace_cmd(); extern void db_reset_cpu(); struct db_command db_command_table[] = { diff --git a/ddb/db_command.h b/ddb/db_command.h index 2517a90..64e3b5c 100644 --- a/ddb/db_command.h +++ b/ddb/db_command.h @@ -73,6 +73,8 @@ extern boolean_t db_exec_cmd_nest(char *cmd, int size); void db_fncall(); +void db_help_cmd(void); + #endif /* MACH_KDB */ #endif /* _DDB_DB_COMMAND_H_ */ |