fix warnings.

This commit is contained in:
Vítor Santos Costa
2011-06-06 10:32:58 +01:00
parent b1a3b925ae
commit 03fe3285e9
2 changed files with 4 additions and 0 deletions

View File

@@ -2496,6 +2496,7 @@ YAP_TermToStream(Term t)
CACHE_REGS
IOSTREAM *s;
int rc;
extern int PL_get_stream_handle(Int t, IOSTREAM **s);
BACKUP_MACHINE_REGS();
if ( (rc=PL_get_stream_handle(Yap_InitSlot(t PASS_REGS), &s)) ) {