summaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 13:43:07 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 13:43:07 +0000
commitb1d8e52e636fd2c137e5abb2d59b331473e0930d (patch)
treeb9fe10850b589a60f5dade8cdf3407c67428127b /target-i386
parent51a0f568c5b0301fd8e44e5c28eaa8a82ea523d8 (diff)
downloadqemu-b1d8e52e636fd2c137e5abb2d59b331473e0930d.tar.gz
Fix undeclared symbol warnings from sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index ebb5824544..d0919d95ff 100644
--- a/target-i386/op_helper.c
+++ b/target-i386/op_helper.c
@@ -96,7 +96,7 @@ const CPU86_LDouble f15rk[7] =
/* broken thread support */
-spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
+static spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
void helper_lock(void)
{