From ee96bb6cca25ae939185adac530652ee909822a1 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 23 Sep 2009 01:19:03 +0200 Subject: [PATCH] __thread should be before real type Signed-off-by: Juan Quintela Signed-off-by: Blue Swirl --- linux-user/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/mmap.c b/linux-user/mmap.c index 07ce051..144fb7c 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -35,7 +35,7 @@ #if defined(CONFIG_USE_NPTL) static pthread_mutex_t mmap_mutex = PTHREAD_MUTEX_INITIALIZER; -static int __thread mmap_lock_count; +static __thread int mmap_lock_count; void mmap_lock(void) { -- 2.7.4