summaryrefslogtreecommitdiff
path: root/serverboot
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-17 04:47:55 +0000
committerRoland McGrath <roland@gnu.org>2001-08-17 04:47:55 +0000
commit1fa4593b8c243a45ff70b7704568c683ed832eb0 (patch)
tree666c566f6610112f41de0fecc2b16bd8d4672ea8 /serverboot
parentb9cccadc0ec3ff86b52b205e9dd2417e9d798009 (diff)
2001-08-16 Roland McGrath <roland@frob.com>
* boot_script.h (boot_script_malloc, boot_script_free): Declare new functions that callers must define. * boot_script.c: All uses of malloc/free changed to use those instead. * userland-boot.c: New file. Defines them using malloc/free. * Makefile (SRCS, OBJS): Add it. * boot.c (boot_script_malloc, boot_script_free): Old cruft functions removed. * boot_script.c (boot_script_parse_line): Take new first argument HOOK. Store it in CMD->hook. (main): Update caller. (boot_script_exec): Pass CMD->hook as 1st arg to boot_script_exec_cmd. (boot_script_exec_cmd): Take new first argument HOOK. * boot.c (boot_script_exec_cmd): Likewise. * boot_script.h (struct cmd): New member `void *hook'. Update decls for HOOK arguments added.
Diffstat (limited to 'serverboot')
0 files changed, 0 insertions, 0 deletions