remove swi deps

This commit is contained in:
Vítor Santos Costa 2015-06-18 08:09:31 +01:00
parent fec94d9cde
commit 315a882e8f
11 changed files with 8 additions and 18 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -17,7 +17,6 @@
*************************************************************************/
#include "absmi.h"
#include <SWI-Stream.h>
#include "Foreign.h"
#include "alloc.h"
#include "yapio.h"

View File

@ -17,7 +17,6 @@
*************************************************************************/
#include "absmi.h"
#include <SWI-Stream.h>
#include "Foreign.h"
#include "alloc.h"
#include "yapio.h"

View File

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

View File

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

View File

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

View File

@ -20,7 +20,6 @@
#include "YapHeap.h"
#include "eval.h"
#include "yapio.h"
#include "pl-shared.h"
#include "YapText.h"
#include <string.h>