diff options
author | hboehm <hboehm> | 2007-05-08 18:27:08 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:39 +0400 |
commit | e45fd3b71772384241e901e94d487ad2eba6b9b0 (patch) | |
tree | e9c1513c1f3c133c0e7b7425ed0a7f8166d00e57 /thread_local_alloc.c | |
parent | 0f56494aeea670222b65d29738cd79dbf3ea290e (diff) | |
download | bdwgc-e45fd3b71772384241e901e94d487ad2eba6b9b0.tar.gz |
2007-05-08 Hans Boehm <Hans.Boehm@hp.com>
* thread_local_alloc.c, include/private/thread_local_alloc.h:
Spell __declspec correctly.
* NT_STATIC_THREADS_MAKEFILE: Enable thread-local allocation.
Diffstat (limited to 'thread_local_alloc.c')
-rw-r--r-- | thread_local_alloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/thread_local_alloc.c b/thread_local_alloc.c index 40491cb1..cfdb6d76 100644 --- a/thread_local_alloc.c +++ b/thread_local_alloc.c @@ -22,7 +22,7 @@ #if defined(USE_COMPILER_TLS) __thread #elif defined(USE_WIN32_COMPILER_TLS) - declspec(thread) + __declspec(thread) #endif GC_key_t GC_thread_key; @@ -53,7 +53,6 @@ static void return_single_freelist(void *fl, void **gfl) static void return_freelists(void **fl, void **gfl) { int i; - void *q, **qptr; for (i = 1; i < TINY_FREELISTS; ++i) { if ((word)(fl[i]) >= HBLKSIZE) { |