aboutsummaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-09-27 07:41:42 +0200
committerStefan Hajnoczi <stefanha@gmail.com>2012-10-05 14:02:23 +0200
commitb2532d88c9eb4f4734f62d5075585ee8c1516605 (patch)
tree8a082f84f37f999d9282eb026102a84dae802981 /cpus.c
parentafb63ebd0a9599312c27ecceb839a399740e00ef (diff)
downloadqemu-b2532d88c9eb4f4734f62d5075585ee8c1516605.zip
qemu-b2532d88c9eb4f4734f62d5075585ee8c1516605.tar.gz
qemu-b2532d88c9eb4f4734f62d5075585ee8c1516605.tar.bz2
cpu: Add missing 'static' attribute to qemu_global_mutex
Contrary to its name, 'qemu_global_mutex' is only used locally in cpus.c. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'cpus.c')
-rw-r--r--cpus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpus.c b/cpus.c
index 4b726ef..1d5d490 100644
--- a/cpus.c
+++ b/cpus.c
@@ -613,7 +613,7 @@ static void qemu_tcg_init_cpu_signals(void)
}
#endif /* _WIN32 */
-QemuMutex qemu_global_mutex;
+static QemuMutex qemu_global_mutex;
static QemuCond qemu_io_proceeded_cond;
static bool iothread_requesting_mutex;