From 60de2bc720ad852ad47ddbdb3b83d0a5d2e0933f Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Tue, 25 Nov 1997 14:32:36 +0000 Subject: [PATCH] Nettoyages git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1806 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/systhreads/Makefile | 2 +- otherlibs/systhreads/posix.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/otherlibs/systhreads/Makefile b/otherlibs/systhreads/Makefile index cf4b8061a..09a6b7889 100644 --- a/otherlibs/systhreads/Makefile +++ b/otherlibs/systhreads/Makefile @@ -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) diff --git a/otherlibs/systhreads/posix.c b/otherlibs/systhreads/posix.c index f7b307642..cce502932 100644 --- a/otherlibs/systhreads/posix.c +++ b/otherlibs/systhreads/posix.c @@ -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