compilation fixes
This commit is contained in:
		
							
								
								
									
										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 */
 | 
			
		||||
 
 | 
			
		||||
 Submodule packages/chr updated: e071f01c1d...c325e4564b
									
								
							 Submodule packages/jpl updated: eb6d27251c...a2d2f03107
									
								
							
		Reference in New Issue
	
	Block a user