* ipc/mach_msg.c: Include kern/exception.h. (exception_raise_continue, exception_raise_continue_fast): Remove forward declarations. * kern/exception.h: Include ipc/ipc_types.h. Include ipc/ipc_kmsg.h.
--- ipc/mach_msg.c | 4 +--- kern/exception.h | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ipc/mach_msg.c b/ipc/mach_msg.c index b83738b..78247a4 100644 --- a/ipc/mach_msg.c +++ b/ipc/mach_msg.c @@ -46,6 +46,7 @@ #include <kern/printf.h> #include <kern/sched_prim.h> #include <kern/ipc_sched.h> +#include <kern/exception.h> #include <vm/vm_map.h> #include <ipc/ipc_kmsg.h> #include <ipc/ipc_marequest.h> @@ -61,9 +62,6 @@ #include <machine/locore.h> #include <machine/pcb.h> -extern void exception_raise_continue(); -extern void exception_raise_continue_fast(); - /* * Routine: mach_msg_send * Purpose: diff --git a/kern/exception.h b/kern/exception.h index 8700ee8..9fe5c6b 100644 --- a/kern/exception.h +++ b/kern/exception.h @@ -19,6 +19,9 @@ #ifndef _KERN_EXCEPTION_H_ #define _KERN_EXCEPTION_H_ +#include <ipc/ipc_types.h> +#include <ipc/ipc_kmsg.h> + extern void exception( integer_t _exception, -- 1.8.1.4