diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-21 18:39:26 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-21 18:39:26 +0000 |
commit | 6f4fc3679c4c860038f4fe0b277cc1196dbcc5a3 (patch) | |
tree | 1ad7e0065098dc982f8315c9fea0e4b52757cfd3 | |
parent | b9d38e9510b38a8c101fa50cbd6f75d9eff61261 (diff) | |
download | hqemu-6f4fc3679c4c860038f4fe0b277cc1196dbcc5a3.zip hqemu-6f4fc3679c4c860038f4fe0b277cc1196dbcc5a3.tar.gz |
Add 'static' to please Sparse
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | hw/realview.c | 2 | ||||
-rw-r--r-- | target-alpha/op_helper.c | 2 | ||||
-rw-r--r-- | target-mips/op_helper.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hw/realview.c b/hw/realview.c index a55fba7..a18e773 100644 --- a/hw/realview.c +++ b/hw/realview.c @@ -196,7 +196,7 @@ static void realview_init(ram_addr_t ram_size, arm_load_kernel(first_cpu, &realview_binfo); } -QEMUMachine realview_machine = { +static QEMUMachine realview_machine = { .name = "realview", .desc = "ARM RealView Emulation Baseboard (ARM926EJ-S)", .init = realview_init, diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index e9d2732..fe222dc 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -89,7 +89,7 @@ void helper_store_fpcr (uint64_t val) } } -spinlock_t intr_cpu_lock = SPIN_LOCK_UNLOCKED; +static spinlock_t intr_cpu_lock = SPIN_LOCK_UNLOCKED; uint64_t helper_rs(void) { diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 194414c..d3dab33 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -1868,7 +1868,7 @@ void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec, #define FLOAT_SNAN64 0x7fffffffffffffffULL /* convert MIPS rounding mode in FCR31 to IEEE library */ -unsigned int ieee_rm[] = { +static unsigned int ieee_rm[] = { float_round_nearest_even, float_round_to_zero, float_round_up, |