summaryrefslogtreecommitdiff
path: root/hw/dma.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-05 13:41:04 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-05 13:41:04 +0000
commitcea9d0b39bf1dca0c81f77dce68274fbc569c906 (patch)
tree5426cce4401c293c8b90d207e2880e86f9084cc9 /hw/dma.c
parent295abf3616506e6e121d86e2d1a4b4ef8c9dd632 (diff)
Remove static
Also avoids GCC warning about old style declaration git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4849 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/dma.c')
-rw-r--r--hw/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma.c b/hw/dma.c
index f192c63d1..bbdecc522 100644
--- a/hw/dma.c
+++ b/hw/dma.c
@@ -450,7 +450,7 @@ static int dma_phony_handler (void *opaque, int nchan, int dma_pos, int dma_len)
static void dma_init2(struct dma_cont *d, int base, int dshift,
int page_base, int pageh_base)
{
- const static int page_port_list[] = { 0x1, 0x2, 0x3, 0x7 };
+ const int page_port_list[] = { 0x1, 0x2, 0x3, 0x7 };
int i;
d->dshift = dshift;