Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Molaro <lupus@oddwiz.org>2006-02-02 12:40:09 +0300
committerPaolo Molaro <lupus@oddwiz.org>2006-02-02 12:40:09 +0300
commit559079f3c12fcfaa0a823084ac7dabffcd0a085d (patch)
treee98fe86385a61405852d75f678f7a9351962225a /libgc/pthread_support.c
parent6f27c4f83cc17da2c0b1a0bbc12688b45ba100ff (diff)
Warning fixes.
svn path=/trunk/mono/; revision=56439
Diffstat (limited to 'libgc/pthread_support.c')
-rw-r--r--libgc/pthread_support.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgc/pthread_support.c b/libgc/pthread_support.c
index 40e6c51b6b2..58a662e773b 100644
--- a/libgc/pthread_support.c
+++ b/libgc/pthread_support.c
@@ -100,7 +100,7 @@
# define GC_getspecific(x) (GC_thread_tls)
# define GC_setspecific(key, v) (GC_thread_tls = (v), pthread_setspecific ((key), (v)))
# define GC_key_create pthread_key_create
- typedef void * GC_key_t;
+ typedef pthread_key_t GC_key_t;
# endif
# endif
# include <stdlib.h>
@@ -229,6 +229,7 @@ static void return_freelists(ptr_t *fl, ptr_t *gfl)
static ptr_t size_zero_object = (ptr_t)(&size_zero_object);
void GC_delete_gc_thread(pthread_t id, GC_thread gct);
+void GC_destroy_thread_local(GC_thread p);
void GC_thread_deregister_foreign (void *data)
{