mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-01 09:42:58 +00:00
Add 'static' to please Sparse
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
b9d38e9510
commit
6f4fc3679c
@ -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,
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user