summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_command.c3
-rw-r--r--ddb/db_command.h2
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_ */