summaryrefslogtreecommitdiffstats
path: root/hw/zaurus.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 13:43:07 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 13:43:07 +0000
commitb1d8e52e636fd2c137e5abb2d59b331473e0930d (patch)
treeb9fe10850b589a60f5dade8cdf3407c67428127b /hw/zaurus.c
parent51a0f568c5b0301fd8e44e5c28eaa8a82ea523d8 (diff)
downloadhqemu-b1d8e52e636fd2c137e5abb2d59b331473e0930d.zip
hqemu-b1d8e52e636fd2c137e5abb2d59b331473e0930d.tar.gz
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/zaurus.c b/hw/zaurus.c
index 7b8f152..c475eaa 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;
OpenPOWER on IntegriCloud