aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1998-11-04 00:29:33 +0000
committerMike Smith <msmith@FreeBSD.org>1998-11-04 00:29:33 +0000
commitcbb5c0dd582d1897d06671580d9469c9ba2a6ae1 (patch)
tree36815db3d36e0c550458a2473a09c180d5aaf914 /sys
parentc7db92c026f1ecdd32f22a367d39b92722ba08f1 (diff)
downloadsrc-cbb5c0dd582d1897d06671580d9469c9ba2a6ae1.tar.gz
src-cbb5c0dd582d1897d06671580d9469c9ba2a6ae1.zip
Make this work in the libstand environment; don't use stdio/stdlib headers.
Notes
Notes: svn path=/head/; revision=40876
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/ficl/Makefile6
-rw-r--r--sys/boot/ficl/alpha/sysdep.c8
-rw-r--r--sys/boot/ficl/dict.c4
-rw-r--r--sys/boot/ficl/i386/sysdep.c8
-rw-r--r--sys/boot/ficl/sysdep.c8
-rw-r--r--sys/boot/ficl/vm.c4
-rw-r--r--sys/boot/ficl/words.c4
7 files changed, 12 insertions, 30 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile
index b3fdd27e4fda..5a6b978f4d7b 100644
--- a/sys/boot/ficl/Makefile
+++ b/sys/boot/ficl/Makefile
@@ -1,11 +1,11 @@
-# $Id$
+# $Id: Makefile,v 1.1 1998/11/03 06:11:34 msmith Exp $
#
LIB= ficl
NOPROFILE= yes
INTERNALLIB= yes
INTERNALSTATICLIB= yes
-
-SRCS= dict.c ficl.c math64.c softcore.c stack.c sysdep.c vm.c words.c
+SRCS= dict.c ficl.c math64.c softcore.c stack.c sysdep.c \
+ vm.c words.c
CLEANFILES= softcore.c
# Standard softwords
diff --git a/sys/boot/ficl/alpha/sysdep.c b/sys/boot/ficl/alpha/sysdep.c
index e0164f59011a..732b048b388b 100644
--- a/sys/boot/ficl/alpha/sysdep.c
+++ b/sys/boot/ficl/alpha/sysdep.c
@@ -5,15 +5,11 @@
** Created: 16 Oct 1997
** Implementations of FICL external interface functions...
**
-** (simple) port to Linux, Skip Carter 26 March 1998
-**
*******************************************************************/
-#include <stdlib.h>
-#include <stdio.h>
-
+#include <stand.h>
#include "ficl.h"
-
+
/*
******************* FreeBSD P O R T B E G I N S H E R E ******************** Michael Smith
*/
diff --git a/sys/boot/ficl/dict.c b/sys/boot/ficl/dict.c
index 2e4e436d646a..3fb244367d45 100644
--- a/sys/boot/ficl/dict.c
+++ b/sys/boot/ficl/dict.c
@@ -17,10 +17,8 @@
** 29 jun 1998 (sadler) added variable sized hash table support
*/
-#include <stdlib.h>
-#include <stdio.h> /* sprintf */
+#include <stand.h>
#include <string.h>
-#include <ctype.h>
#include "ficl.h"
static char *dictCopyName(FICL_DICT *pDict, STRINGINFO si);
diff --git a/sys/boot/ficl/i386/sysdep.c b/sys/boot/ficl/i386/sysdep.c
index e0164f59011a..732b048b388b 100644
--- a/sys/boot/ficl/i386/sysdep.c
+++ b/sys/boot/ficl/i386/sysdep.c
@@ -5,15 +5,11 @@
** Created: 16 Oct 1997
** Implementations of FICL external interface functions...
**
-** (simple) port to Linux, Skip Carter 26 March 1998
-**
*******************************************************************/
-#include <stdlib.h>
-#include <stdio.h>
-
+#include <stand.h>
#include "ficl.h"
-
+
/*
******************* FreeBSD P O R T B E G I N S H E R E ******************** Michael Smith
*/
diff --git a/sys/boot/ficl/sysdep.c b/sys/boot/ficl/sysdep.c
index e0164f59011a..732b048b388b 100644
--- a/sys/boot/ficl/sysdep.c
+++ b/sys/boot/ficl/sysdep.c
@@ -5,15 +5,11 @@
** Created: 16 Oct 1997
** Implementations of FICL external interface functions...
**
-** (simple) port to Linux, Skip Carter 26 March 1998
-**
*******************************************************************/
-#include <stdlib.h>
-#include <stdio.h>
-
+#include <stand.h>
#include "ficl.h"
-
+
/*
******************* FreeBSD P O R T B E G I N S H E R E ******************** Michael Smith
*/
diff --git a/sys/boot/ficl/vm.c b/sys/boot/ficl/vm.c
index ebbe1c0f307c..3040ee47e2fa 100644
--- a/sys/boot/ficl/vm.c
+++ b/sys/boot/ficl/vm.c
@@ -13,11 +13,9 @@
** of the interp.
*/
-#include <stdlib.h>
-#include <stdio.h>
+#include <stand.h>
#include <stdarg.h>
#include <string.h>
-#include <ctype.h>
#include "ficl.h"
static char digits[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
diff --git a/sys/boot/ficl/words.c b/sys/boot/ficl/words.c
index dce650703906..68723b509102 100644
--- a/sys/boot/ficl/words.c
+++ b/sys/boot/ficl/words.c
@@ -7,10 +7,8 @@
**
*******************************************************************/
-#include <stdlib.h>
-#include <stdio.h>
+#include <stand.h>
#include <string.h>
-#include <ctype.h>
#include "ficl.h"
#include "math64.h"