Skip to contentSkip to conversation

[4849] Remove static

Qemu-devel malc 1 participant 1 message Jul 5, 2008

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 4849

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4849
Author:   malc
Date:     2008-07-05 13:41:04 +0000 (Sat, 05 Jul 2008)

Log Message:
-----------
Remove static

Also avoids GCC warning about old style declaration

Modified Paths:
--------------
trunk/hw/dma.c

Modified: trunk/hw/dma.c
===================================================================

hw/dma.c +1 -1
@@ -450,7 +450,7 @@
 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;