aboutsummaryrefslogtreecommitdiff
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-arm
parentFix incorrect use of pstrcpy (malc) (diff)
downloadqemu-kvm-b1d8e52e636fd2c137e5abb2d59b331473e0930d.tar.gz
qemu-kvm-b1d8e52e636fd2c137e5abb2d59b331473e0930d.tar.bz2
qemu-kvm-b1d8e52e636fd2c137e5abb2d59b331473e0930d.zip
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-arm')
-rw-r--r--target-arm/op_helper.c2
-rw-r--r--target-arm/translate.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index 9a384ebe1..84a3d157d 100644
--- a/target-arm/op_helper.c
+++ b/target-arm/op_helper.c
@@ -31,7 +31,7 @@ void raise_exception(int tt)
/* thread support */
-spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
+static spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
void cpu_lock(void)
{
diff --git a/target-arm/translate.c b/target-arm/translate.c
index ce3509d45..e6c1e4614 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -756,7 +756,7 @@ static void gen_test_cc(int cc, int label)
dead_tmp(tmp);
}
-const uint8_t table_logic_cc[16] = {
+static const uint8_t table_logic_cc[16] = {
1, /* and */
1, /* xor */
0, /* sub */