summaryrefslogtreecommitdiff
path: root/thread_local_alloc.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2007-05-08 18:27:08 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:39 +0400
commite45fd3b71772384241e901e94d487ad2eba6b9b0 (patch)
treee9c1513c1f3c133c0e7b7425ed0a7f8166d00e57 /thread_local_alloc.c
parent0f56494aeea670222b65d29738cd79dbf3ea290e (diff)
downloadbdwgc-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.c3
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) {