diff options
author | Paolo Molaro <lupus@oddwiz.org> | 2006-02-02 12:40:09 +0300 |
---|---|---|
committer | Paolo Molaro <lupus@oddwiz.org> | 2006-02-02 12:40:09 +0300 |
commit | 559079f3c12fcfaa0a823084ac7dabffcd0a085d (patch) | |
tree | e98fe86385a61405852d75f678f7a9351962225a /libgc | |
parent | 6f27c4f83cc17da2c0b1a0bbc12688b45ba100ff (diff) |
Warning fixes.
svn path=/trunk/mono/; revision=56439
Diffstat (limited to 'libgc')
-rw-r--r-- | libgc/pthread_support.c | 3 |
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) { |