summaryrefslogtreecommitdiff
path: root/target-arm
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
commit78341986849f356b1b921d077a97db649ec2661c (patch)
treeb9fe10850b589a60f5dade8cdf3407c67428127b /target-arm
parent2eeeaa29a5ad4d8782df2a25fc13776c752dab09 (diff)
downloadqemu-78341986849f356b1b921d077a97db649ec2661c.tar.gz
qemu-78341986849f356b1b921d077a97db649ec2661c.tar.bz2
qemu-78341986849f356b1b921d077a97db649ec2661c.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 9a384ebe1d..84a3d157d4 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 ce3509d452..e6c1e46149 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 */