From 4c427f351acb585bf06f63218cb8ced221d889e0 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Fri, 29 Nov 2013 22:54:07 +0100 Subject: kern/task.c: remove forward declarations * ipc/ipc_mqueue.h: Include ipc/ipc_kmsg_queue.h. * kern/ipc_kobject.h: Move includes into ifndef. * kern/syscall_emulation.h: Include kern/task.h. (eml_init, eml_task_reference, eml_task_deallocate): Add prototypes. * kern/task.c: Include kern/syscall_emulation.h. (eml_init, eml_task_reference, eml_task_deallocate): Remove forward declarations --- kern/ipc_kobject.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kern/ipc_kobject.h') diff --git a/kern/ipc_kobject.h b/kern/ipc_kobject.h index cb795741..606a66a9 100644 --- a/kern/ipc_kobject.h +++ b/kern/ipc_kobject.h @@ -36,13 +36,12 @@ * Declarations for letting a port represent a kernel object. */ -#include -#include - #ifndef _KERN_IPC_KOBJECT_H_ #define _KERN_IPC_KOBJECT_H_ #include +#include +#include typedef vm_offset_t ipc_kobject_t; -- cgit v1.2.3