From: Zoltan Varga Date: Tue, 11 Oct 2005 17:33:27 +0000 (+0000) Subject: 2005-10-11 Zoltan Varga X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=942346765368be2480c4c54d69463bc8cdae15e7;p=gc 2005-10-11 Zoltan Varga * pthread_support.c (GC_thread_deregister_foreign): Make this return void instead of void*. svn path=/trunk/mono/; revision=51613 --- diff --git a/ChangeLog b/ChangeLog index 2a717e7e..d32dd59e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-11 Zoltan Varga + + * pthread_support.c (GC_thread_deregister_foreign): Make this return + void instead of void*. + 2005-09-29 Raja R Harinath * configure.host: Fix syntax error. diff --git a/include/private/pthread_support.h b/include/private/pthread_support.h index c00ec51f..8a3168da 100644 --- a/include/private/pthread_support.h +++ b/include/private/pthread_support.h @@ -92,7 +92,7 @@ extern GC_bool GC_thr_initialized; GC_thread GC_lookup_thread(pthread_t id); -void *GC_thread_deregister_foreign (void *data); +void GC_thread_deregister_foreign (void *data); void GC_stop_init(); diff --git a/pthread_support.c b/pthread_support.c index 78505cb7..6ae56c47 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -223,7 +223,7 @@ static ptr_t size_zero_object = (ptr_t)(&size_zero_object); void GC_delete_thread(pthread_t id); -void *GC_thread_deregister_foreign (void *data) +void GC_thread_deregister_foreign (void *data) { GC_thread me = (GC_thread)data; /* GC_fprintf1( "\n\n\n\n --- Deregister %x ---\n\n\n\n\n", me->flags ); */