diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-05 17:03:54 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-05 17:03:54 +0000 |
commit | d70040bcae822db0515eae055f1842164c2697a9 (patch) | |
tree | f0debef3e3541cbac38cba9edf12d1f844ea7fd5 | |
parent | cea9d0b39bf1dca0c81f77dce68274fbc569c906 (diff) | |
download | qemu-d70040bcae822db0515eae055f1842164c2697a9.zip qemu-d70040bcae822db0515eae055f1842164c2697a9.tar.gz qemu-d70040bcae822db0515eae055f1842164c2697a9.tar.bz2 |
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
-rw-r--r-- | hw/dma.c | 2 | ||||
-rw-r--r-- | target-i386/translate.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; diff --git a/target-i386/translate.c b/target-i386/translate.c index f7313ea..bfb2801 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -5475,7 +5475,7 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) 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), |