summaryrefslogtreecommitdiff
path: root/kern/bootstrap.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:53:59 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 06:34:03 +0900
commit072c63671c42b8ebcc3561b003bc087676be97fb (patch)
tree47439cb9d62ef0a363db83a67a60c068def4e6f3 /kern/bootstrap.c
parentbf2393db5d814edf92dc9c6bd01dbb0511dc2519 (diff)
kern/bootstrap.c: remove forward declarations
* i386/i386/pcb.h: Include mach/thread_status.h. Include machine/thread.h. * kern/bootstrap.c: Include machine/pcb.h. (user_stack_low, set_user_regs): Remove forward declarations.
Diffstat (limited to 'kern/bootstrap.c')
-rw-r--r--kern/bootstrap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index a683ce9..41b02fe 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -37,6 +37,7 @@
#include <mach/message.h>
#include <machine/locore.h>
#include <machine/vm_param.h>
+#include <machine/pcb.h>
#include <ipc/ipc_port.h>
#include <ipc/mach_port.h>
#include <kern/debug.h>
@@ -519,9 +520,6 @@ static void copy_bootstrap(void *e, exec_info_t *boot_exec_info)
/*
* Allocate the stack, and build the argument list.
*/
-extern vm_offset_t user_stack_low();
-extern vm_offset_t set_user_regs();
-
static void
build_args_and_stack(struct exec_info *boot_exec_info,
char **argv, char **envp)