Skip to contentSkip to conversation

[4850] Re-add static qualifier.

Qemu-devel Paul Brook 1 participant 1 message Jul 5, 2008

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

Revision: 4850

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4850
Author:   pbrook
Date:     2008-07-05 17:03:54 +0000 (Sat, 05 Jul 2008)

Log Message:
-----------
Re-add static qualifier. Fix annother occurance of "const static".

Modified Paths:
--------------
trunk/hw/dma.c
trunk/target-i386/translate.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 int page_port_list[] = { 0x1, 0x2, 0x3, 0x7 };
+    static const int page_port_list[] = { 0x1, 0x2, 0x3, 0x7 };
     int i;
 
     d->dshift = dshift;

Modified: trunk/target-i386/translate.c
===================================================================

target-i386/translate.c +1 -1
@@ -5475,7 +5475,7 @@
             case 0x18 ... 0x1b:
                 {
                     int op1, l1;
-                    const static uint8_t fcmov_cc[8] = {
+                    static const uint8_t fcmov_cc[8] = {
                         (JCC_B << 1),
                         (JCC_Z << 1),
                         (JCC_BE << 1),