diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-26 13:43:07 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-26 13:43:07 +0000 |
commit | b1d8e52e636fd2c137e5abb2d59b331473e0930d (patch) | |
tree | b9fe10850b589a60f5dade8cdf3407c67428127b /hw/zaurus.c | |
parent | 51a0f568c5b0301fd8e44e5c28eaa8a82ea523d8 (diff) |
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 'hw/zaurus.c')
-rw-r--r-- | hw/zaurus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/zaurus.c b/hw/zaurus.c index 7b8f1520c3..c475eaa613 100644 --- a/hw/zaurus.c +++ b/hw/zaurus.c @@ -155,12 +155,12 @@ static void scoop_writeb(void *opaque, target_phys_addr_t addr, uint32_t value) } } -CPUReadMemoryFunc *scoop_readfn[] = { +static CPUReadMemoryFunc *scoop_readfn[] = { scoop_readb, scoop_readb, scoop_readb, }; -CPUWriteMemoryFunc *scoop_writefn[] = { +static CPUWriteMemoryFunc *scoop_writefn[] = { scoop_writeb, scoop_writeb, scoop_writeb, @@ -252,7 +252,7 @@ struct scoop_info_s *scoop_init(struct pxa2xx_state_s *cpu, #define MAGIC_CHG(a, b, c, d) ((d << 24) | (c << 16) | (b << 8) | a) -struct __attribute__ ((__packed__)) sl_param_info { +static struct __attribute__ ((__packed__)) sl_param_info { uint32_t comadj_keyword; int32_t comadj; |