fix compilation warnings

This commit is contained in:
Vitor Santos Costa 2010-07-19 22:42:47 +01:00
parent d608966f46
commit 8edeead245
2 changed files with 7 additions and 4 deletions

View File

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

View File

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