[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/7] __thread should be before real type
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 5/7] __thread should be before real type |
Date: |
Wed, 23 Sep 2009 01:19:03 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
linux-user/mmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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)
{
--
1.6.2.5
- [Qemu-devel] [PATCH 0/7] Remove pre ANSI c89 code, Juan Quintela, 2009/09/22
- [Qemu-devel] [PATCH 4/7] gcc wants 1st static and then const, Juan Quintela, 2009/09/22
- [Qemu-devel] [PATCH 2/7] static and inline should came before the type of the functions, Juan Quintela, 2009/09/22
- [Qemu-devel] [PATCH 1/7] Use proper typedef syntax, Juan Quintela, 2009/09/22
- [Qemu-devel] [PATCH 3/7] Bring two last users of K&R definitions to ANSI c89, Juan Quintela, 2009/09/22
- [Qemu-devel] [PATCH 5/7] __thread should be before real type,
Juan Quintela <=
- [Qemu-devel] [PATCH 6/7] Add -Wold-style-declaration -Wold-style-definition to QEMU_CFLAGS, Juan Quintela, 2009/09/22
[Qemu-devel] [PATCH 7/7] Remove PARAMS() macro, Juan Quintela, 2009/09/22
Re: [Qemu-devel] [PATCH 0/7] Remove pre ANSI c89 code, Markus Armbruster, 2009/09/23