From dfd3f85c45b079b10419069fc792e9bee5aada1c Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 23 Sep 2009 01:19:03 +0200 Subject: __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(-) (limited to 'linux-user/mmap.c') 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) { -- cgit v1.1