qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@nowt.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [4850] Re-add static qualifier.
Date: Sat, 05 Jul 2008 17:03:55 +0000	[thread overview]
Message-ID: <E1KFBAx-00071P-HH@cvs.savannah.gnu.org> (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
===================================================================
--- 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),

                 reply	other threads:[~2008-07-05 17:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1KFBAx-00071P-HH@cvs.savannah.gnu.org \
    --to=paul@nowt.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).