From 78341986849f356b1b921d077a97db649ec2661c Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 26 Oct 2008 13:43:07 +0000 Subject: Fix undeclared symbol warnings from sparse git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-arm/op_helper.c | 2 +- target-arm/translate.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'target-arm') 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 */ -- cgit v1.2.3