Make this work in the libstand environment; don't use stdio/stdlib headers.

This commit is contained in:
Mike Smith 1998-11-04 00:29:33 +00:00
parent c7db92c026
commit cbb5c0dd58
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40876
7 changed files with 12 additions and 30 deletions

View File

@ -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

View File

@ -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
*/

View File

@ -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);

View File

@ -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
*/

View File

@ -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
*/

View File

@ -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";

View File

@ -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"