compilation fixes

This commit is contained in:
Vítor Manuel de Morais Santos Costa 2009-10-31 00:18:13 +00:00
parent bda231f24d
commit 6a8cee8b79
7 changed files with 8 additions and 6 deletions

View File

@ -1052,7 +1052,6 @@ InitLogDBErasedMarker(void)
Yap_heap_regs->logdb_erased_marker->ClNext = NULL;
Yap_heap_regs->logdb_erased_marker->ClSize = (UInt)NEXTOP(((LogUpdClause *)NULL)->ClCode,e);
Yap_heap_regs->logdb_erased_marker->ClCode->opc = Yap_opcode(_op_fail);
INIT_LOCK(Yap_heap_regs->logdb_erased_marker->ClLock);
INIT_CLREF_COUNT(Yap_heap_regs->logdb_erased_marker);
}

View File

@ -61,6 +61,10 @@
* *
*************************************************************************/
#ifndef NULL
#include <stdio.h>
#endif
#if ALIGN_LONGS
/* */ typedef Int DISPREG;
/* */ typedef CELL SMALLUNSGN;

View File

@ -47,7 +47,7 @@
#endif
#ifdef THREADS
INIT_LOCK(Yap_heap_regs->thread_handles_lock);
InitThreadHandles;
InitThreadHandles();
#endif

View File

@ -805,7 +805,6 @@ RestoreLogDBErasedMarker(void)
Yap_heap_regs->logdb_erased_marker->ClNext = NULL;
Yap_heap_regs->logdb_erased_marker->ClSize = (UInt)NEXTOP(((LogUpdClause *)NULL)->ClCode,e);
Yap_heap_regs->logdb_erased_marker->ClCode->opc = Yap_opcode(_op_fail);
REINIT_LOCK(Yap_heap_regs->logdb_erased_marker->ClLock);
INIT_CLREF_COUNT(Yap_heap_regs->logdb_erased_marker);
}

View File

@ -48,7 +48,7 @@ worker_local wl WorkerLocak void void
#endif
#ifdef THREADS
lockvar thread_handles_lock ThreadHandlesLock MkLock
struct thandle thread_handle[MAX_THREADS] ThreadHandle InitThreadHandles void
struct thandle thread_handle[MAX_THREADS] ThreadHandle InitThreadHandles() void
#endif
/* memory management */

@ -1 +1 @@
Subproject commit e071f01c1d9015e6d3fabc73092a6e902541485a
Subproject commit c325e4564bb8d4e32c27f2061df85f13d315974e

@ -1 +1 @@
Subproject commit eb6d27251c2548c25e6d37fff2a27a014caaa7aa
Subproject commit a2d2f03107eecd45462cd61a678035132cf06326