compilation fixes
This commit is contained in:
parent
bda231f24d
commit
6a8cee8b79
1
C/init.c
1
C/init.c
@ -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);
|
||||
}
|
||||
|
||||
|
@ -61,6 +61,10 @@
|
||||
* *
|
||||
*************************************************************************/
|
||||
|
||||
#ifndef NULL
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#if ALIGN_LONGS
|
||||
/* */ typedef Int DISPREG;
|
||||
/* */ typedef CELL SMALLUNSGN;
|
||||
|
@ -47,7 +47,7 @@
|
||||
#endif
|
||||
#ifdef THREADS
|
||||
INIT_LOCK(Yap_heap_regs->thread_handles_lock);
|
||||
InitThreadHandles;
|
||||
InitThreadHandles();
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
Reference in New Issue
Block a user