summaryrefslogtreecommitdiff
path: root/kern/ipc_kobject.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:07 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 06:44:53 +0900
commit4c427f351acb585bf06f63218cb8ced221d889e0 (patch)
tree9548718d2fd901b70f6057eb93ee1ad2b55aeb40 /kern/ipc_kobject.h
parent34918f3816982301834a313f655e13804d6b8ac5 (diff)
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
Diffstat (limited to 'kern/ipc_kobject.h')
-rw-r--r--kern/ipc_kobject.h5
1 files changed, 2 insertions, 3 deletions
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 <ipc/ipc_kmsg.h>
-#include <ipc/ipc_types.h>
-
#ifndef _KERN_IPC_KOBJECT_H_
#define _KERN_IPC_KOBJECT_H_
#include <mach/machine/vm_types.h>
+#include <ipc/ipc_types.h>
+#include <ipc/ipc_kmsg.h>
typedef vm_offset_t ipc_kobject_t;