Nettoyages

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1806 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1997-11-25 14:32:36 +00:00
parent 92a3d57ea6
commit 60de2bc720
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ libthreadsnat.a: $(NATIVECODE_C_OBJS)
ar rc libthreadsnat.a $(NATIVECODE_C_OBJS)
posix_n.o: posix.c
$(NATIVECC) -O -I ../../asmrun -I../../byterun $(NATIVECCCOMPOPTS) -DNATIVE_CODE -DTARGET_$(ARCH) -DSYS_$(SYSTEM) -c posix.c
$(NATIVECC) -g -I../../asmrun -I../../byterun $(NATIVECCCOMPOPTS) -DNATIVE_CODE -DTARGET_$(ARCH) -DSYS_$(SYSTEM) -c posix.c
mv posix.o posix_n.o
threads.cma: $(THREAD_OBJS)

View File

@ -251,6 +251,7 @@ static void * caml_thread_tick(void * arg)
something_to_do = 1;
#endif
}
return NULL; /* prevents compiler warning */
}
/* Thread cleanup: remove the descriptor from the list and free