From: Juan Quintela Date: Tue, 22 Sep 2009 23:19:03 +0000 (+0200) Subject: __thread should be before real type X-Git-Tag: v0.12.0-rc0~1031 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfd3f85c45b079b10419069fc792e9bee5aada1c;p=thirdparty%2Fqemu.git __thread should be before real type Signed-off-by: Juan Quintela Signed-off-by: Blue Swirl --- diff --git a/linux-user/mmap.c b/linux-user/mmap.c index 07ce051576d..144fb7cbcff 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) {