qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4850] Re-add static qualifier.
@ 2008-07-05 17:03 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-07-05 17:03 UTC (permalink / raw)
  To: qemu-devel

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
===================================================================
--- trunk/hw/dma.c	2008-07-05 13:41:04 UTC (rev 4849)
+++ trunk/hw/dma.c	2008-07-05 17:03:54 UTC (rev 4850)
@@ -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
===================================================================
--- trunk/target-i386/translate.c	2008-07-05 13:41:04 UTC (rev 4849)
+++ trunk/target-i386/translate.c	2008-07-05 17:03:54 UTC (rev 4850)
@@ -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),

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-05 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-05 17:03 [Qemu-devel] [4850] Re-add static qualifier Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).