remove swi deps
This commit is contained in:
parent
fec94d9cde
commit
315a882e8f
@ -338,7 +338,9 @@
|
||||
#include "yapio.h"
|
||||
#include "Foreign.h"
|
||||
#include "attvar.h"
|
||||
#include "SWI-Stream.h"
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if HAVE_STDARG_H
|
||||
|
1
C/exec.c
1
C/exec.c
@ -19,7 +19,6 @@ static char SccsId[] = "@(#)cdmgr.c 1.1 05/02/98";
|
||||
#endif
|
||||
|
||||
#include "absmi.h"
|
||||
#include "pl-shared.h"
|
||||
#include "yapio.h"
|
||||
#include "attvar.h"
|
||||
#include "cut_c.h"
|
||||
|
9
C/init.c
9
C/init.c
@ -245,8 +245,7 @@ OpDec(int p, const char *type, Atom a, Term m)
|
||||
WRITE_UNLOCK(ae->ARWLock);
|
||||
}
|
||||
if (i <= 3) {
|
||||
GET_LD
|
||||
if (truePrologFlag(PLFLAG_ISO) &&
|
||||
if (trueGlobalPrologFlag(ISO_FLAG) &&
|
||||
info->Posfix != 0) /* there is a posfix operator */ {
|
||||
/* ISO dictates */
|
||||
WRITE_UNLOCK(info->OpRWLock);
|
||||
@ -255,8 +254,8 @@ OpDec(int p, const char *type, Atom a, Term m)
|
||||
}
|
||||
info->Infix = p;
|
||||
} else if (i <= 5) {
|
||||
GET_LD
|
||||
if (truePrologFlag(PLFLAG_ISO) &&
|
||||
|
||||
if (trueGlobalPrologFlag(ISO_FLAG) &&
|
||||
info->Infix != 0) /* there is an infix operator */ {
|
||||
/* ISO dictates */
|
||||
WRITE_UNLOCK(info->OpRWLock);
|
||||
@ -1076,7 +1075,7 @@ InitLogDBErasedMarker(void)
|
||||
static void
|
||||
InitSWIAtoms(void)
|
||||
{
|
||||
extern atom_t ATOM_;
|
||||
/* extern atom_t ATOM_;
|
||||
|
||||
int j=0;
|
||||
MaxAtomTranslations = 2*N_SWI_ATOMS ;
|
||||
|
@ -21,7 +21,6 @@ static char SccsId[] = "%W% %G%";
|
||||
#include "Yap.h"
|
||||
#include "Yatom.h"
|
||||
#include "YapHeap.h"
|
||||
#include "pl-shared.h"
|
||||
|
||||
static Int p_current_module(USES_REGS1);
|
||||
static Int p_current_module1(USES_REGS1);
|
||||
|
@ -142,10 +142,7 @@ dot with single quotes.
|
||||
#include "yapio.h"
|
||||
#include "eval.h"
|
||||
/* stuff we want to use in standard YAP code */
|
||||
#include "pl-shared.h"
|
||||
#include "YapText.h"
|
||||
#include "pl-read.h"
|
||||
#include "pl-text.h"
|
||||
#include "iopreds.h"
|
||||
#if HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
1
C/qlyr.c
1
C/qlyr.c
@ -17,7 +17,6 @@
|
||||
*************************************************************************/
|
||||
|
||||
#include "absmi.h"
|
||||
#include <SWI-Stream.h>
|
||||
#include "Foreign.h"
|
||||
#include "alloc.h"
|
||||
#include "yapio.h"
|
||||
|
1
C/qlyw.c
1
C/qlyw.c
@ -17,7 +17,6 @@
|
||||
*************************************************************************/
|
||||
|
||||
#include "absmi.h"
|
||||
#include <SWI-Stream.h>
|
||||
#include "Foreign.h"
|
||||
#include "alloc.h"
|
||||
#include "yapio.h"
|
||||
|
1
C/save.c
1
C/save.c
@ -27,7 +27,6 @@ static char SccsId[] = "@(#)save.c 1.3 3/15/90";
|
||||
#include <psapi.h>
|
||||
#endif
|
||||
#include "absmi.h"
|
||||
#include "SWI-Stream.h"
|
||||
#include "alloc.h"
|
||||
#if USE_DL_MALLOC
|
||||
#include "dlmalloc.h"
|
||||
|
@ -406,7 +406,6 @@ writing, writing a BOM can be requested using the option
|
||||
#include "Yap.h"
|
||||
#include "Yatom.h"
|
||||
#include "YapHeap.h"
|
||||
#include "SWI-Stream.h"
|
||||
#include "yapio.h"
|
||||
#include "alloc.h"
|
||||
#include "eval.h"
|
||||
|
@ -285,7 +285,6 @@ static char SccsId[] = "%W% %G%";
|
||||
#include "YapHeap.h"
|
||||
#include "eval.h"
|
||||
#include "yapio.h"
|
||||
#include "pl-shared.h"
|
||||
#include "Foreign.h"
|
||||
#ifdef TABLING
|
||||
#include "tab.macros.h"
|
||||
|
Reference in New Issue
Block a user