fix crashes in 64-bit mode with unknown predicates.

This commit is contained in:
Costa Vitor 2009-06-03 15:27:53 -05:00
parent 51d1c442d6
commit 5da51d615d
2 changed files with 2 additions and 2 deletions

View File

@ -1174,7 +1174,7 @@ p_nb_linkval(void)
return TRUE; return TRUE;
} }
int Term
Yap_SetGlobalVal(Atom at, Term t0) Yap_SetGlobalVal(Atom at, Term t0)
{ {
Term to; Term to;

View File

@ -188,7 +188,7 @@ void STD_PROTO(Yap_inform_profiler_of_clause,(struct yami *,struct yami *,struct
/* globals.c */ /* globals.c */
Term STD_PROTO(Yap_NewArena,(UInt,CELL *)); Term STD_PROTO(Yap_NewArena,(UInt,CELL *));
void STD_PROTO(Yap_InitGlobals,(void)); void STD_PROTO(Yap_InitGlobals,(void));
int STD_PROTO(Yap_SetGlobalVal, (Atom, Term)); Term STD_PROTO(Yap_SetGlobalVal, (Atom, Term));
void STD_PROTO(Yap_AllocateDefaultArena, (Int, Int)); void STD_PROTO(Yap_AllocateDefaultArena, (Int, Int));
/* grow.c */ /* grow.c */