summaryrefslogtreecommitdiff
path: root/serverboot/load.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-17 04:48:03 +0000
committerRoland McGrath <roland@gnu.org>2001-08-17 04:48:03 +0000
commited04b038e834eeee56a28d27789649dffe72b2b2 (patch)
tree48ac73b82f3253cb6cbe9c8f4586e6db6ae7e9f5 /serverboot/load.c
parent1fa4593b8c243a45ff70b7704568c683ed832eb0 (diff)
2001-08-16 Roland McGrath <roland@frob.com>
* Makefile (OBJS): Add userland-boot.o here. Add a vpath to find userland-boot.c in boot/ too. * bootstrap.c (parse_script): Pass new arg to boot_script_parse_line. * load.c: Include <stddef.h> before "boot_script.h".
Diffstat (limited to 'serverboot/load.c')
-rw-r--r--serverboot/load.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/serverboot/load.c b/serverboot/load.c
index 1665868b..21289bf1 100644
--- a/serverboot/load.c
+++ b/serverboot/load.c
@@ -24,6 +24,7 @@
* the rights to redistribute these changes.
*/
+#include <stddef.h>
#include <assert.h>
#include <mach/mach_interface.h>
#include <varargs.h>
@@ -237,7 +238,8 @@ mach_port_t boot_script_read_file (const char *file)
{ return MACH_PORT_NULL; } /* XXX */
int
-boot_script_exec_cmd (task_t user_task,
+boot_script_exec_cmd (void *hook,
+ task_t user_task,
char *file_name,
int arg_count, char **argv,
char *argstrings, int argslen)