summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:53:47 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 06:05:04 +0900
commit61f523520d663b541f773243514561e847d1ad01 (patch)
treeadcc005b41d5f6d3ed3ae32f25d9811b70718d12 /kern
parent35f8aad6128b05bae4cbdab3dca68724482daa3d (diff)
kern/exception.c: remove forward declarations
* i386/i386/trap.h (thread_kdb_return): Add prototype. * kern/exception.c (thread_kdb_return, db_printf): Remove forward declarations. Include machine/trap.h. Include ddb/db_output.h.
Diffstat (limited to 'kern')
-rw-r--r--kern/exception.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/exception.c b/kern/exception.c
index d73b196..0232773 100644
--- a/kern/exception.c
+++ b/kern/exception.c
@@ -51,8 +51,8 @@
#include <mach/machine/vm_types.h>
#if MACH_KDB
-extern void thread_kdb_return();
-extern void db_printf();
+#include <machine/trap.h>
+#include <ddb/db_output.h>
boolean_t debug_user_with_kdb = FALSE;
#endif /* MACH_KDB */