fix compilation warnings
This commit is contained in:
parent
d608966f46
commit
8edeead245
|
@ -21,14 +21,15 @@ static char SccsId[] = "%W% %G%";
|
||||||
#include "Yap.h"
|
#include "Yap.h"
|
||||||
#include "Yatom.h"
|
#include "Yatom.h"
|
||||||
|
|
||||||
|
#if HAVE_STRING_H
|
||||||
|
#include <string.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_GMP
|
#ifdef USE_GMP
|
||||||
|
|
||||||
#include "YapHeap.h"
|
#include "YapHeap.h"
|
||||||
#include "eval.h"
|
#include "eval.h"
|
||||||
#include "alloc.h"
|
#include "alloc.h"
|
||||||
#if HAVE_STRING_H
|
|
||||||
#include <string.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
Term
|
Term
|
||||||
Yap_MkBigIntTerm(MP_INT *big)
|
Yap_MkBigIntTerm(MP_INT *big)
|
||||||
|
|
|
@ -406,8 +406,10 @@ IsBlobStringTerm (Term t)
|
||||||
(RepAppl(t)[1] & BLOB_STRING) == BLOB_STRING);
|
(RepAppl(t)[1] & BLOB_STRING) == BLOB_STRING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline EXTERN int IsWideBlobStringTerm (Term);
|
||||||
|
|
||||||
inline EXTERN int
|
inline EXTERN int
|
||||||
IsWideBlobString (Term t)
|
IsWideBlobStringTerm (Term t)
|
||||||
{
|
{
|
||||||
return (int) (IsApplTerm (t) &&
|
return (int) (IsApplTerm (t) &&
|
||||||
FunctorOfTerm (t) == FunctorBigInt &&
|
FunctorOfTerm (t) == FunctorBigInt &&
|
||||||
|
|
Reference in New Issue