summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-17 09:00:21 +0000
committerRoland McGrath <roland@gnu.org>2001-08-17 09:00:21 +0000
commit6212a0ba5b71dc821d47ded85df8486eefe3afeb (patch)
tree8ae2b85c9db257752925c8dc4d05d7692b7ad15e
parent8c2c7f7715a2a67e6afd0f1ee4b23a45231566e0 (diff)
2001-08-17 Roland McGrath <roland@frob.com>
* boot_script.h: size_t -> unsigned int * boot_script.c: Don't #include <string.h>.
-rw-r--r--boot/boot_script.c1
-rw-r--r--boot/boot_script.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/boot/boot_script.c b/boot/boot_script.c
index 75152b3e..fb5b8d6c 100644
--- a/boot/boot_script.c
+++ b/boot/boot_script.c
@@ -3,7 +3,6 @@
/* Written by Shantanu Goel (goel@cs.columbia.edu). */
#include <mach/mach_types.h>
-#include <string.h>
#include "boot_script.h"
diff --git a/boot/boot_script.h b/boot/boot_script.h
index f63200a8..5695328e 100644
--- a/boot/boot_script.h
+++ b/boot/boot_script.h
@@ -55,8 +55,8 @@ struct cmd
/* The user must define these functions, we work like malloc and free. */
-void *boot_script_malloc (size_t);
-void boot_script_free (void *, size_t);
+void *boot_script_malloc (unsigned int);
+void boot_script_free (void *, unsigned int);
/* The user must define this function. Load the image of the
executable specified by PATH in TASK. Create a thread