From 3871333497e73d6ccbae13d547a2f2284e2cd122 Mon Sep 17 00:00:00 2001
From: Roland McGrath <roland@gnu.org>
Date: Fri, 4 Sep 1998 18:25:06 +0000
Subject: 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>

	* boot_script.c: Include <string.h> instead of declaring memset here.
	Include <stdlib.h> instead of declaring malloc, free here.
---
 boot/boot_script.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

(limited to 'boot')

diff --git a/boot/boot_script.c b/boot/boot_script.c
index b773c011..04ede101 100644
--- a/boot/boot_script.c
+++ b/boot/boot_script.c
@@ -4,13 +4,11 @@
 
 #include <mach.h>
 #include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
 #include "boot_script.h"
 
 
-extern void *malloc (int size);
-extern void free (void *ptr);
-
-
 /* This structure describes a symbol.  */
 struct sym
 {
@@ -68,8 +66,6 @@ static int symtab_alloc = 0;
 
 /* Next available slot in `symtab'.  */
 static int symtab_index = 0;
-
-void memset (void *str, char c, int size);
 
 /* Create a task.  */
 static int
@@ -113,7 +109,7 @@ prompt_resume_task (struct cmd *cmd, int *val)
     }
 
   return 0;
-}  
+}
 
 static int
 read_file (struct cmd *cmd, int *val)
@@ -495,7 +491,7 @@ boot_script_parse_line (char *cmdline)
 	    }
 	}
     }
-  
+
 
  bad:
   free_cmd (cmd, 1);
-- 
cgit v1.2.3