summaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
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 */