summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-01-17 23:56:04 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-19 00:55:04 +0100
commit2029728ed6d2a88350be945a892d325aebc2eb8d (patch)
tree5cdae89a531f8d10e08b39491c7c8e64cff3f9b0 /kern/thread.c
parentfc6bcf785b702e7e8a675ea0fe9856cc1b24b8f6 (diff)
Include mig generated headers to avoid warnings with -Wmissing-prototypes.
This also reverts 566c227636481b246d928772ebeaacbc7c37145b and 963b1794d7117064cee8ab5638b329db51dad854 Message-Id: <Y8d75KSqNL4FFInm@mercury.tail36e24.ts.net>
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kern/thread.c b/kern/thread.c
index db290f7e..bc155b45 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -45,8 +45,8 @@
#include <kern/eventcount.h>
#include <kern/ipc_mig.h>
#include <kern/ipc_tt.h>
-#include <kern/mach_debug.h>
-#include <kern/mach_host.h>
+#include <kern/mach_debug.server.h>
+#include <kern/mach_host.server.h>
#include <kern/processor.h>
#include <kern/queue.h>
#include <kern/sched.h>
@@ -63,7 +63,7 @@
#include <ipc/ipc_kmsg.h>
#include <ipc/ipc_port.h>
#include <ipc/mach_msg.h>
-#include <ipc/mach_port.h>
+#include <ipc/mach_port.server.h>
#include <machine/machspl.h> /* for splsched */
#include <machine/pcb.h>
#include <machine/thread.h> /* for MACHINE_STACK */