[03/12] cpu: Add missing 'static' attribute to qemu_global_mutex

Submitted by Stefan Hajnoczi on Oct. 5, 2012, 2 p.m.

Details

Message ID 1349445632-23674-4-git-send-email-stefanha@gmail.com
State New
Headers show

Commit Message

Stefan Hajnoczi Oct. 5, 2012, 2 p.m.
From: Stefan Weil <sw@weilnetz.de>

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>
---
 cpus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;