diff options
author | msmith <msmith@FreeBSD.org> | 1998-11-04 00:29:33 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-11-04 00:29:33 +0000 |
commit | e8cf5aa8c56c8001ed5b20feca97816716a02b8a (patch) | |
tree | 00938b97d516709c55e7530ce4e8b942ad0d1013 /sys/boot | |
parent | 155c4cb295a5caea254dabf4973a42c711475740 (diff) | |
download | FreeBSD-src-e8cf5aa8c56c8001ed5b20feca97816716a02b8a.zip FreeBSD-src-e8cf5aa8c56c8001ed5b20feca97816716a02b8a.tar.gz |
Make this work in the libstand environment; don't use stdio/stdlib headers.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/ficl/Makefile | 6 | ||||
-rw-r--r-- | sys/boot/ficl/alpha/sysdep.c | 8 | ||||
-rw-r--r-- | sys/boot/ficl/dict.c | 4 | ||||
-rw-r--r-- | sys/boot/ficl/i386/sysdep.c | 8 | ||||
-rw-r--r-- | sys/boot/ficl/sysdep.c | 8 | ||||
-rw-r--r-- | sys/boot/ficl/vm.c | 4 | ||||
-rw-r--r-- | sys/boot/ficl/words.c | 4 |
7 files changed, 12 insertions, 30 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index b3fdd27..5a6b978 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 e0164f5..732b048 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 2e4e436..3fb2443 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 e0164f5..732b048 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 e0164f5..732b048 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 ebbe1c0..3040ee4 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 dce6507..68723b5 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" |