From d70040bcae822db0515eae055f1842164c2697a9 Mon Sep 17 00:00:00 2001 From: pbrook Date: Sat, 5 Jul 2008 17:03:54 +0000 Subject: Re-add static qualifier. Fix annother occurance of "const static". git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4850 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/dma.c') diff --git a/hw/dma.c b/hw/dma.c index bbdecc5..00c6332 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 int page_port_list[] = { 0x1, 0x2, 0x3, 0x7 }; + static const int page_port_list[] = { 0x1, 0x2, 0x3, 0x7 }; int i; d->dshift = dshift; -- cgit v1.1